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
53db8154
Kaydet (Commit)
53db8154
authored
Eyl 16, 2000
tarafından
Greg Ward
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Tweaked the build temp dir names again.
üst
e918b6fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
build.py
Lib/distutils/command/build.py
+4
-8
No files found.
Lib/distutils/command/build.py
Dosyayı görüntüle @
53db8154
...
...
@@ -62,12 +62,7 @@ class build (Command):
def
finalize_options
(
self
):
# Need this to name platform-specific directories, but sys.platform
# is not enough -- it only names the OS and version, not the
# hardware architecture!
self
.
plat
=
get_platform
()
plat_specifier
=
sys
.
version
[
0
:
3
]
+
'-'
+
self
.
plat
plat_specifier
=
".
%
s-
%
s"
%
(
get_platform
(),
sys
.
version
[
0
:
3
])
# 'build_purelib' and 'build_platlib' just default to 'lib' and
# 'lib.<plat>' under the base build directory. We only use one of
...
...
@@ -76,7 +71,7 @@ class build (Command):
self
.
build_purelib
=
os
.
path
.
join
(
self
.
build_base
,
'lib'
)
if
self
.
build_platlib
is
None
:
self
.
build_platlib
=
os
.
path
.
join
(
self
.
build_base
,
'lib
-
'
+
plat_specifier
)
'lib'
+
plat_specifier
)
# 'build_lib' is the actual directory that we will use for this
# particular module distribution -- if user didn't supply it, pick
...
...
@@ -91,9 +86,10 @@ class build (Command):
# "build/temp.<plat>"
if
self
.
build_temp
is
None
:
self
.
build_temp
=
os
.
path
.
join
(
self
.
build_base
,
'temp
-
'
+
plat_specifier
)
'temp'
+
plat_specifier
)
if
self
.
build_scripts
is
None
:
self
.
build_scripts
=
os
.
path
.
join
(
self
.
build_base
,
'scripts'
)
# finalize_options ()
...
...
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