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
523539de
Kaydet (Commit)
523539de
authored
Şub 09, 2007
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #1600860: Search for shared python library in LIBDIR, not
lib/python/config, on "linux" and "gnu" systems.
üst
b4af42a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
build_ext.py
Lib/distutils/command/build_ext.py
+12
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
523539de
...
...
@@ -185,9 +185,7 @@ class build_ext (Command):
# for extensions under Cygwin and AtheOS Python's library directory must be
# appended to library_dirs
if
sys
.
platform
[:
6
]
==
'cygwin'
or
sys
.
platform
[:
6
]
==
'atheos'
or
\
((
sys
.
platform
.
startswith
(
'linux'
)
or
sys
.
platform
.
startswith
(
'gnu'
))
and
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
)):
if
sys
.
platform
[:
6
]
==
'cygwin'
or
sys
.
platform
[:
6
]
==
'atheos'
:
if
string
.
find
(
sys
.
executable
,
sys
.
exec_prefix
)
!=
-
1
:
# building third party extensions
self
.
library_dirs
.
append
(
os
.
path
.
join
(
sys
.
prefix
,
"lib"
,
...
...
@@ -197,6 +195,17 @@ class build_ext (Command):
# building python standard extensions
self
.
library_dirs
.
append
(
'.'
)
# for extensions under Linux with a shared Python library,
# Python's library directory must be appended to library_dirs
if
(
sys
.
platform
.
startswith
(
'linux'
)
or
sys
.
platform
.
startswith
(
'gnu'
))
\
and
sysconfig
.
get_config_var
(
'Py_ENABLE_SHARED'
):
if
string
.
find
(
sys
.
executable
,
sys
.
exec_prefix
)
!=
-
1
:
# building third party extensions
self
.
library_dirs
.
append
(
sysconfig
.
get_config_var
(
'LIBDIR'
))
else
:
# building python standard extensions
self
.
library_dirs
.
append
(
'.'
)
# The argument parsing will result in self.define being a string, but
# it has to be a list of 2-tuples. All the preprocessor symbols
# specified by the 'define' option will be set to '1'. Multiple
...
...
Misc/NEWS
Dosyayı görüntüle @
523539de
...
...
@@ -169,6 +169,9 @@ Extension Modules
Library
-------
-
Bug
#
1600860
:
Search
for
shared
python
library
in
LIBDIR
,
not
lib
/
python
/
config
,
on
"linux"
and
"gnu"
systems
.
-
Bug
#
1124861
:
Automatically
create
pipes
if
GetStdHandle
fails
in
subprocess
.
...
...
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