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
88eeef35
Kaydet (Commit)
88eeef35
authored
May 28, 2008
tarafından
Mark Hammond
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
üst
a4368784
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bdist_wininst.py
Lib/distutils/command/bdist_wininst.py
+6
-0
No files found.
Lib/distutils/command/bdist_wininst.py
Dosyayı görüntüle @
88eeef35
...
...
@@ -79,6 +79,12 @@ class bdist_wininst (Command):
def
finalize_options
(
self
):
if
self
.
bdist_dir
is
None
:
if
self
.
skip_build
and
self
.
plat_name
:
# If build is skipped and plat_name is overridden, bdist will
# not see the correct 'plat_name' - so set that up manually.
bdist
=
self
.
distribution
.
get_command_obj
(
'bdist'
)
bdist
.
plat_name
=
self
.
plat_name
# next the command will be initialized using that name
bdist_base
=
self
.
get_finalized_command
(
'bdist'
)
.
bdist_base
self
.
bdist_dir
=
os
.
path
.
join
(
bdist_base
,
'wininst'
)
if
not
self
.
target_version
:
...
...
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