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
9668b933
Kaydet (Commit)
9668b933
authored
Ock 12, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #414775: Add --skip-build option to bdist command.
üst
cdc44512
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
1 deletion
+19
-1
bdist.py
Lib/distutils/command/bdist.py
+5
-0
bdist_dumb.py
Lib/distutils/command/bdist_dumb.py
+6
-1
bdist_wininst.py
Lib/distutils/command/bdist_wininst.py
+5
-0
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/command/bdist.py
Dosyayı görüntüle @
9668b933
...
...
@@ -40,8 +40,12 @@ class bdist (Command):
(
'dist-dir='
,
'd'
,
"directory to put final built distributions in "
"[default: dist]"
),
(
'skip-build'
,
None
,
"skip rebuilding everything (for testing/debugging)"
),
]
boolean_options
=
[
'skip-build'
]
help_options
=
[
(
'help-formats'
,
None
,
"lists available distribution formats"
,
show_formats
),
...
...
@@ -76,6 +80,7 @@ class bdist (Command):
self
.
plat_name
=
None
self
.
formats
=
None
self
.
dist_dir
=
None
self
.
skip_build
=
0
# initialize_options()
...
...
Lib/distutils/command/bdist_dumb.py
Dosyayı görüntüle @
9668b933
...
...
@@ -30,9 +30,11 @@ class bdist_dumb (Command):
"creating the distribution archive"
),
(
'dist-dir='
,
'd'
,
"directory to put final built distributions in"
),
(
'skip-build'
,
None
,
"skip rebuilding everything (for testing/debugging)"
),
]
boolean_options
=
[
'keep-temp'
]
boolean_options
=
[
'keep-temp'
,
'skip-build'
]
default_format
=
{
'posix'
:
'gztar'
,
'nt'
:
'zip'
,
}
...
...
@@ -44,6 +46,7 @@ class bdist_dumb (Command):
self
.
format
=
None
self
.
keep_temp
=
0
self
.
dist_dir
=
None
self
.
skip_build
=
0
# initialize_options()
...
...
@@ -71,10 +74,12 @@ class bdist_dumb (Command):
def
run
(
self
):
if
not
self
.
skip_build
:
self
.
run_command
(
'build'
)
install
=
self
.
reinitialize_command
(
'install'
,
reinit_subcommands
=
1
)
install
.
root
=
self
.
bdist_dir
install
.
skip_build
=
self
.
skip_build
self
.
announce
(
"installing to
%
s"
%
self
.
bdist_dir
)
self
.
run_command
(
'install'
)
...
...
Lib/distutils/command/bdist_wininst.py
Dosyayı görüntüle @
9668b933
...
...
@@ -36,6 +36,8 @@ class bdist_wininst (Command):
"bitmap to use for the installer instead of python-powered logo"
),
(
'title='
,
't'
,
"title to display on the installer background instead of default"
),
(
'skip-build'
,
None
,
"skip rebuilding everything (for testing/debugging)"
),
]
boolean_options
=
[
'keep-temp'
]
...
...
@@ -49,6 +51,7 @@ class bdist_wininst (Command):
self
.
dist_dir
=
None
self
.
bitmap
=
None
self
.
title
=
None
self
.
skip_build
=
0
# initialize_options()
...
...
@@ -79,10 +82,12 @@ class bdist_wininst (Command):
(
"distribution contains extensions and/or C libraries; "
"must be compiled on a Windows 32 platform"
)
if
not
self
.
skip_build
:
self
.
run_command
(
'build'
)
install
=
self
.
reinitialize_command
(
'install'
)
install
.
root
=
self
.
bdist_dir
install
.
skip_build
=
self
.
skip_build
install_lib
=
self
.
reinitialize_command
(
'install_lib'
)
# we do not want to include pyc or pyo files
...
...
Misc/ACKS
Dosyayı görüntüle @
9668b933
...
...
@@ -231,6 +231,7 @@ Bob Kahn
Tamito Kajiyama
Lou Kates
Randall Kern
Robert Kern
Magnus Kessler
Lawrence Kesteloot
Vivek Khera
...
...
Misc/NEWS
Dosyayı görüntüle @
9668b933
...
...
@@ -30,6 +30,8 @@ Library
gettext.find an optional all argument. Translations will now fallback
on a per-message basis.
- distutils bdist commands now offer a --skip-build option.
Tools/Demos
Build
...
...
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