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
143a070f
Kaydet (Commit)
143a070f
authored
Şub 03, 2008
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Disable linking against BerkeleyDB 4.6 by default as it has proven to
be a buggy release on many platforms.
üst
946de92f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
setup.py
setup.py
+6
-3
No files found.
setup.py
Dosyayı görüntüle @
143a070f
...
...
@@ -608,7 +608,10 @@ class PyBuildExt(build_ext):
# a release. Most open source OSes come with one or more
# versions of BerkeleyDB already installed.
max_db_ver
=
(
4
,
6
)
max_db_ver
=
(
4
,
5
)
# NOTE: while the _bsddb.c code links against BerkeleyDB 4.6.x
# we leave that version disabled by default as it has proven to be
# quite a buggy library release on many platforms.
min_db_ver
=
(
3
,
3
)
db_setup_debug
=
False
# verbose debug prints from this script?
...
...
@@ -625,7 +628,7 @@ class PyBuildExt(build_ext):
'/sw/include/db3'
,
]
# 4.x minor number specific paths
for
x
in
(
0
,
1
,
2
,
3
,
4
,
5
,
6
):
for
x
in
range
(
max_db_ver
[
1
]
+
1
):
db_inc_paths
.
append
(
'/usr/include/db4
%
d'
%
x
)
db_inc_paths
.
append
(
'/usr/include/db4.
%
d'
%
x
)
db_inc_paths
.
append
(
'/usr/local/BerkeleyDB.4.
%
d/include'
%
x
)
...
...
@@ -648,7 +651,7 @@ class PyBuildExt(build_ext):
for
dn
in
inc_dirs
:
std_variants
.
append
(
os
.
path
.
join
(
dn
,
'db3'
))
std_variants
.
append
(
os
.
path
.
join
(
dn
,
'db4'
))
for
x
in
(
0
,
1
,
2
,
3
,
4
,
5
,
6
):
for
x
in
range
(
max_db_ver
[
1
]
+
1
):
std_variants
.
append
(
os
.
path
.
join
(
dn
,
"db4
%
d"
%
x
))
std_variants
.
append
(
os
.
path
.
join
(
dn
,
"db4.
%
d"
%
x
))
for
x
in
(
2
,
3
):
...
...
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