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
b222bbc3
Kaydet (Commit)
b222bbc3
authored
Ock 18, 2008
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Build _ctypes after the other extensions. Its build process depends
on the _weakref extension (and maybe other modules, too)
üst
5cc3f26c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
setup.py
setup.py
+8
-2
No files found.
setup.py
Dosyayı görüntüle @
b222bbc3
...
@@ -101,8 +101,14 @@ class PyBuildExt(build_ext):
...
@@ -101,8 +101,14 @@ class PyBuildExt(build_ext):
missing
=
self
.
detect_modules
()
missing
=
self
.
detect_modules
()
# Remove modules that are present on the disabled list
# Remove modules that are present on the disabled list
self
.
extensions
=
[
ext
for
ext
in
self
.
extensions
extensions
=
[
ext
for
ext
in
self
.
extensions
if
ext
.
name
not
in
disabled_module_list
]
if
ext
.
name
not
in
disabled_module_list
]
# move ctypes to the end, it depends on other modules
ext_map
=
dict
((
ext
.
name
,
i
)
for
i
,
ext
in
enumerate
(
extensions
))
if
"_ctypes"
in
ext_map
:
ctypes
=
extensions
.
pop
(
ext_map
[
"_ctypes"
])
extensions
.
append
(
ctypes
)
self
.
extensions
=
extensions
# Fix up the autodetected modules, prefixing all the source files
# Fix up the autodetected modules, prefixing all the source files
# with Modules/ and adding Python's include directory to the path.
# with Modules/ and adding Python's include directory to the path.
...
...
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