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
c67a15d8
Kaydet (Commit)
c67a15d8
authored
Ara 14, 2007
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed bug #1628
The detection now works on Unix with Makefile, Makefile with VPATH and on Windows.
üst
90921cc4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
sysconfig.py
Lib/distutils/sysconfig.py
+4
-2
test_sysconfig.py
Lib/distutils/tests/test_sysconfig.py
+1
-1
No files found.
Lib/distutils/sysconfig.py
Dosyayı görüntüle @
c67a15d8
...
@@ -31,8 +31,10 @@ if os.name == "nt" and "pcbuild" in project_base[-8:].lower():
...
@@ -31,8 +31,10 @@ if os.name == "nt" and "pcbuild" in project_base[-8:].lower():
# python_build: (Boolean) if true, we're either building Python or
# python_build: (Boolean) if true, we're either building Python or
# building an extension with an un-installed Python, so we use
# building an extension with an un-installed Python, so we use
# different (hard-wired) directories.
# different (hard-wired) directories.
python_build
=
os
.
path
.
isfile
(
os
.
path
.
join
(
project_base
,
"Modules"
,
# Setup.local is available for Makefile builds including VPATH builds,
"Setup.local"
))
# Setup.dist is available on Windows
python_build
=
any
(
os
.
path
.
isfile
(
os
.
path
.
join
(
project_base
,
"Modules"
,
fn
))
for
fn
in
(
"Setup.dist"
,
"Setup.local"
))
def
get_python_version
():
def
get_python_version
():
...
...
Lib/distutils/tests/test_sysconfig.py
Dosyayı görüntüle @
c67a15d8
...
@@ -15,7 +15,7 @@ class SysconfigTestCase(unittest.TestCase):
...
@@ -15,7 +15,7 @@ class SysconfigTestCase(unittest.TestCase):
def
test_get_python_lib
(
self
):
def
test_get_python_lib
(
self
):
lib_dir
=
sysconfig
.
get_python_lib
()
lib_dir
=
sysconfig
.
get_python_lib
()
# XXX doesn't work on
I
nux when Python was never installed before
# XXX doesn't work on
Li
nux when Python was never installed before
#self.assert_(os.path.isdir(lib_dir), lib_dir)
#self.assert_(os.path.isdir(lib_dir), lib_dir)
# test for pythonxx.lib?
# test for pythonxx.lib?
...
...
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