Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
99b032ea
Kaydet (Commit)
99b032ea
authored
Eyl 25, 2000
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added 'boolean_options' list to support config file parsing.
üst
817dc098
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
31 additions
and
0 deletions
+31
-0
bdist_dumb.py
Lib/distutils/command/bdist_dumb.py
+2
-0
bdist_rpm.py
Lib/distutils/command/bdist_rpm.py
+2
-0
bdist_wininst.py
Lib/distutils/command/bdist_wininst.py
+2
-0
build.py
Lib/distutils/command/build.py
+2
-0
build_clib.py
Lib/distutils/command/build_clib.py
+2
-0
build_ext.py
Lib/distutils/command/build_ext.py
+2
-0
build_py.py
Lib/distutils/command/build_py.py
+2
-0
build_scripts.py
Lib/distutils/command/build_scripts.py
+2
-0
clean.py
Lib/distutils/command/clean.py
+2
-0
install.py
Lib/distutils/command/install.py
+2
-0
install_data.py
Lib/distutils/command/install_data.py
+2
-0
install_headers.py
Lib/distutils/command/install_headers.py
+1
-0
install_lib.py
Lib/distutils/command/install_lib.py
+2
-0
install_scripts.py
Lib/distutils/command/install_scripts.py
+3
-0
sdist.py
Lib/distutils/command/sdist.py
+3
-0
No files found.
Lib/distutils/command/bdist_dumb.py
Dosyayı görüntüle @
99b032ea
...
@@ -32,6 +32,8 @@ class bdist_dumb (Command):
...
@@ -32,6 +32,8 @@ class bdist_dumb (Command):
"directory to put final built distributions in"
),
"directory to put final built distributions in"
),
]
]
boolean_options
=
[
'keep-temp'
]
default_format
=
{
'posix'
:
'gztar'
,
default_format
=
{
'posix'
:
'gztar'
,
'nt'
:
'zip'
,
}
'nt'
:
'zip'
,
}
...
...
Lib/distutils/command/bdist_rpm.py
Dosyayı görüntüle @
99b032ea
...
@@ -111,6 +111,8 @@ class bdist_rpm (Command):
...
@@ -111,6 +111,8 @@ class bdist_rpm (Command):
"RPM 2 compatibility mode"
),
"RPM 2 compatibility mode"
),
]
]
boolean_options
=
[
'keep-temp'
,
'rpm2-mode'
]
negative_opt
=
{
'no-keep-temp'
:
'keep-temp'
,
negative_opt
=
{
'no-keep-temp'
:
'keep-temp'
,
'no-rpm-opt-flags'
:
'use-rpm-opt-flags'
,
'no-rpm-opt-flags'
:
'use-rpm-opt-flags'
,
'rpm2-mode'
:
'rpm3-mode'
}
'rpm2-mode'
:
'rpm3-mode'
}
...
...
Lib/distutils/command/bdist_wininst.py
Dosyayı görüntüle @
99b032ea
...
@@ -33,6 +33,8 @@ class bdist_wininst (Command):
...
@@ -33,6 +33,8 @@ class bdist_wininst (Command):
"directory to put final built distributions in"
),
"directory to put final built distributions in"
),
]
]
boolean_options
=
[
'keep-temp'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
bdist_dir
=
None
self
.
bdist_dir
=
None
self
.
keep_temp
=
0
self
.
keep_temp
=
0
...
...
Lib/distutils/command/build.py
Dosyayı görüntüle @
99b032ea
...
@@ -42,6 +42,8 @@ class build (Command):
...
@@ -42,6 +42,8 @@ class build (Command):
"forcibly build everything (ignore file timestamps)"
),
"forcibly build everything (ignore file timestamps)"
),
]
]
boolean_options
=
[
'debug'
,
'force'
]
help_options
=
[
help_options
=
[
(
'help-compiler'
,
None
,
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
"list available compilers"
,
show_compilers
),
...
...
Lib/distutils/command/build_clib.py
Dosyayı görüntüle @
99b032ea
...
@@ -48,6 +48,8 @@ class build_clib (Command):
...
@@ -48,6 +48,8 @@ class build_clib (Command):
"specify the compiler type"
),
"specify the compiler type"
),
]
]
boolean_options
=
[
'debug'
,
'force'
]
help_options
=
[
help_options
=
[
(
'help-compiler'
,
None
,
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
"list available compilers"
,
show_compilers
),
...
...
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
99b032ea
...
@@ -82,6 +82,8 @@ class build_ext (Command):
...
@@ -82,6 +82,8 @@ class build_ext (Command):
"make SWIG create C++ files (default is C)"
),
"make SWIG create C++ files (default is C)"
),
]
]
boolean_options
=
[
'inplace'
,
'debug'
,
'force'
,
'swig-cpp'
]
help_options
=
[
help_options
=
[
(
'help-compiler'
,
None
,
(
'help-compiler'
,
None
,
"list available compilers"
,
show_compilers
),
"list available compilers"
,
show_compilers
),
...
...
Lib/distutils/command/build_py.py
Dosyayı görüntüle @
99b032ea
...
@@ -23,6 +23,8 @@ class build_py (Command):
...
@@ -23,6 +23,8 @@ class build_py (Command):
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps)"
),
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps)"
),
]
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
build_lib
=
None
self
.
build_lib
=
None
...
...
Lib/distutils/command/build_scripts.py
Dosyayı görüntüle @
99b032ea
...
@@ -22,6 +22,8 @@ class build_scripts (Command):
...
@@ -22,6 +22,8 @@ class build_scripts (Command):
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps"
),
(
'force'
,
'f'
,
"forcibly build everything (ignore file timestamps"
),
]
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
build_dir
=
None
self
.
build_dir
=
None
...
...
Lib/distutils/command/clean.py
Dosyayı görüntüle @
99b032ea
...
@@ -28,6 +28,8 @@ class clean (Command):
...
@@ -28,6 +28,8 @@ class clean (Command):
"remove all build output, not just temporary by-products"
)
"remove all build output, not just temporary by-products"
)
]
]
boolean_options
=
[
'all'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
build_base
=
None
self
.
build_base
=
None
self
.
build_lib
=
None
self
.
build_lib
=
None
...
...
Lib/distutils/command/install.py
Dosyayı görüntüle @
99b032ea
...
@@ -106,6 +106,8 @@ class install (Command):
...
@@ -106,6 +106,8 @@ class install (Command):
"filename in which to record list of installed files"
),
"filename in which to record list of installed files"
),
]
]
boolean_options
=
[
'force'
,
'skip-build'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
...
...
Lib/distutils/command/install_data.py
Dosyayı görüntüle @
99b032ea
...
@@ -25,6 +25,8 @@ class install_data (Command):
...
@@ -25,6 +25,8 @@ class install_data (Command):
(
'force'
,
'f'
,
"force installation (overwrite existing files)"
),
(
'force'
,
'f'
,
"force installation (overwrite existing files)"
),
]
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
install_dir
=
None
self
.
install_dir
=
None
self
.
outfiles
=
[]
self
.
outfiles
=
[]
...
...
Lib/distutils/command/install_headers.py
Dosyayı görüntüle @
99b032ea
...
@@ -21,6 +21,7 @@ class install_headers (Command):
...
@@ -21,6 +21,7 @@ class install_headers (Command):
"force installation (overwrite existing files)"
),
"force installation (overwrite existing files)"
),
]
]
boolean_options
=
[
'force'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
install_dir
=
None
self
.
install_dir
=
None
...
...
Lib/distutils/command/install_lib.py
Dosyayı görüntüle @
99b032ea
...
@@ -19,6 +19,8 @@ class install_lib (Command):
...
@@ -19,6 +19,8 @@ class install_lib (Command):
(
'skip-build'
,
None
,
"skip the build steps"
),
(
'skip-build'
,
None
,
"skip the build steps"
),
]
]
boolean_options
=
[
'force'
,
'compile'
,
'optimize'
,
'skip-build'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
# let the 'install' command dictate our installation directory
# let the 'install' command dictate our installation directory
...
...
Lib/distutils/command/install_scripts.py
Dosyayı görüntüle @
99b032ea
...
@@ -22,6 +22,9 @@ class install_scripts (Command):
...
@@ -22,6 +22,9 @@ class install_scripts (Command):
(
'skip-build'
,
None
,
"skip the build steps"
),
(
'skip-build'
,
None
,
"skip the build steps"
),
]
]
boolean_options
=
[
'force'
,
'skip-build'
]
def
initialize_options
(
self
):
def
initialize_options
(
self
):
self
.
install_dir
=
None
self
.
install_dir
=
None
self
.
force
=
0
self
.
force
=
0
...
...
Lib/distutils/command/sdist.py
Dosyayı görüntüle @
99b032ea
...
@@ -67,6 +67,9 @@ class sdist (Command):
...
@@ -67,6 +67,9 @@ class sdist (Command):
"[default: dist]"
),
"[default: dist]"
),
]
]
boolean_options
=
[
'use-defaults'
,
'prune'
,
'manifest-only'
,
'force-manifest'
,
'keep-tree'
]
help_options
=
[
help_options
=
[
(
'help-formats'
,
None
,
(
'help-formats'
,
None
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment