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
2273ab2a
Kaydet (Commit)
2273ab2a
authored
Nis 17, 2014
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge 3.4
üst
617c4dc3
a3818a30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
NEWS
Misc/NEWS
+6
-0
setup.py
setup.py
+13
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
2273ab2a
...
...
@@ -244,8 +244,14 @@ IDLE
Build
-----
<<<<<<< local
- Issue #17861: Tools/scripts/generate_opcode_h.py automatically regenerates
Include/opcode.h from Lib/opcode.py if the later gets any change.
=======
- Issue #15234: For BerkelyDB and Sqlite, only add the found library and
include directories if they aren'
t
already
being
searched
.
This
avoids
an
explicit
runtime
library
dependency
.
>>>>>>>
other
-
Issue
#
20644
:
OS
X
installer
build
support
for
documentation
build
changes
in
3.4.1
:
assume
externally
supplied
sphinx
-
build
is
available
in
/
usr
/
bin
.
...
...
setup.py
Dosyayı görüntüle @
2273ab2a
...
...
@@ -1022,8 +1022,16 @@ class PyBuildExt(build_ext):
if
db_setup_debug
:
print
(
"bsddb using BerkeleyDB lib:"
,
db_ver
,
dblib
)
print
(
"bsddb lib dir:"
,
dblib_dir
,
" inc dir:"
,
db_incdir
)
db_incs
=
[
db_incdir
]
dblibs
=
[
dblib
]
# Only add the found library and include directories if they aren't
# already being searched. This avoids an explicit runtime library
# dependency.
if
db_incdir
in
inc_dirs
:
db_incs
=
None
else
:
db_incs
=
[
db_incdir
]
if
dblib_dir
[
0
]
in
lib_dirs
:
dblib_dir
=
None
else
:
if
db_setup_debug
:
print
(
"db: no appropriate library found"
)
db_incs
=
None
...
...
@@ -1134,6 +1142,9 @@ class PyBuildExt(build_ext):
# can end up with a bad search path order.
if
sqlite_incdir
not
in
self
.
compiler
.
include_dirs
:
include_dirs
.
append
(
sqlite_incdir
)
# avoid a runtime library path for a system library dir
if
sqlite_libdir
and
sqlite_libdir
[
0
]
in
lib_dirs
:
sqlite_libdir
=
None
exts
.
append
(
Extension
(
'_sqlite3'
,
sqlite_srcs
,
define_macros
=
sqlite_defines
,
include_dirs
=
include_dirs
,
...
...
@@ -1202,7 +1213,7 @@ class PyBuildExt(build_ext):
libraries
=
gdbm_libs
)
break
elif
cand
==
"bdb"
:
if
db
_incs
is
not
None
:
if
db
libs
:
if
dbm_setup_debug
:
print
(
"building dbm using bdb"
)
dbmext
=
Extension
(
'_dbm'
,
[
'_dbmmodule.c'
],
library_dirs
=
dblib_dir
,
...
...
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