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
79d9bfa2
Kaydet (Commit)
79d9bfa2
authored
Eki 27, 2004
tarafından
Mark Hammond
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix [1055540 ] bdist_wininst broken for pure Python distributions
üst
17931de1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
bdist_wininst.py
Lib/distutils/command/bdist_wininst.py
+15
-14
No files found.
Lib/distutils/command/bdist_wininst.py
Dosyayı görüntüle @
79d9bfa2
...
...
@@ -116,20 +116,21 @@ class bdist_wininst (Command):
install_lib
.
compile
=
0
install_lib
.
optimize
=
0
# If we are building an installer for a Python version other
# than the one we are currently running, then we need to ensure
# our build_lib reflects the other Python version rather than ours.
# Note that for target_version!=sys.version, we must have skipped the
# build step, so there is no issue with enforcing the build of this
# version.
target_version
=
self
.
target_version
if
not
target_version
:
assert
self
.
skip_build
,
"Should have already checked this"
target_version
=
sys
.
version
[
0
:
3
]
plat_specifier
=
".
%
s-
%
s"
%
(
get_platform
(),
target_version
)
build
=
self
.
get_finalized_command
(
'build'
)
build
.
build_lib
=
os
.
path
.
join
(
build
.
build_base
,
'lib'
+
plat_specifier
)
if
self
.
distribution
.
has_ext_modules
():
# If we are building an installer for a Python version other
# than the one we are currently running, then we need to ensure
# our build_lib reflects the other Python version rather than ours.
# Note that for target_version!=sys.version, we must have skipped the
# build step, so there is no issue with enforcing the build of this
# version.
target_version
=
self
.
target_version
if
not
target_version
:
assert
self
.
skip_build
,
"Should have already checked this"
target_version
=
sys
.
version
[
0
:
3
]
plat_specifier
=
".
%
s-
%
s"
%
(
get_platform
(),
target_version
)
build
=
self
.
get_finalized_command
(
'build'
)
build
.
build_lib
=
os
.
path
.
join
(
build
.
build_base
,
'lib'
+
plat_specifier
)
# Use a custom scheme for the zip-file, because we have to decide
# at installation time which scheme to use.
...
...
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