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
73aa1fff
Kaydet (Commit)
73aa1fff
authored
Haz 27, 2002
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More fixes for building MacPython extension modules. It now actually succeeds
in building various modules.
üst
3d9addd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
setup.py
setup.py
+18
-16
No files found.
setup.py
Dosyayı görüntüle @
73aa1fff
...
@@ -309,10 +309,11 @@ class PyBuildExt(build_ext):
...
@@ -309,10 +309,11 @@ class PyBuildExt(build_ext):
# fcntl(2) and ioctl(2)
# fcntl(2) and ioctl(2)
exts
.
append
(
Extension
(
'fcntl'
,
[
'fcntlmodule.c'
])
)
exts
.
append
(
Extension
(
'fcntl'
,
[
'fcntlmodule.c'
])
)
# pwd(3)
if
platform
not
in
[
'mac'
]:
exts
.
append
(
Extension
(
'pwd'
,
[
'pwdmodule.c'
])
)
# pwd(3)
# grp(3)
exts
.
append
(
Extension
(
'pwd'
,
[
'pwdmodule.c'
])
)
exts
.
append
(
Extension
(
'grp'
,
[
'grpmodule.c'
])
)
# grp(3)
exts
.
append
(
Extension
(
'grp'
,
[
'grpmodule.c'
])
)
# posix (UNIX) errno values
# posix (UNIX) errno values
exts
.
append
(
Extension
(
'errno'
,
[
'errnomodule.c'
])
)
exts
.
append
(
Extension
(
'errno'
,
[
'errnomodule.c'
])
)
# select(2); not on ancient System V
# select(2); not on ancient System V
...
@@ -338,14 +339,15 @@ class PyBuildExt(build_ext):
...
@@ -338,14 +339,15 @@ class PyBuildExt(build_ext):
exts
.
append
(
Extension
(
'cPickle'
,
[
'cPickle.c'
])
)
exts
.
append
(
Extension
(
'cPickle'
,
[
'cPickle.c'
])
)
# Memory-mapped files (also works on Win32).
# Memory-mapped files (also works on Win32).
if
platform
not
in
[
'atheos'
]:
if
platform
not
in
[
'atheos'
,
'mac'
]:
exts
.
append
(
Extension
(
'mmap'
,
[
'mmapmodule.c'
])
)
exts
.
append
(
Extension
(
'mmap'
,
[
'mmapmodule.c'
])
)
# Lance Ellinghaus's modules:
# Lance Ellinghaus's modules:
# enigma-inspired encryption
# enigma-inspired encryption
exts
.
append
(
Extension
(
'rotor'
,
[
'rotormodule.c'
])
)
exts
.
append
(
Extension
(
'rotor'
,
[
'rotormodule.c'
])
)
# syslog daemon interface
if
platform
not
in
[
'mac'
]:
exts
.
append
(
Extension
(
'syslog'
,
[
'syslogmodule.c'
])
)
# syslog daemon interface
exts
.
append
(
Extension
(
'syslog'
,
[
'syslogmodule.c'
])
)
# George Neville-Neil's timing module:
# George Neville-Neil's timing module:
exts
.
append
(
Extension
(
'timing'
,
[
'timingmodule.c'
])
)
exts
.
append
(
Extension
(
'timing'
,
[
'timingmodule.c'
])
)
...
@@ -381,14 +383,14 @@ class PyBuildExt(build_ext):
...
@@ -381,14 +383,14 @@ class PyBuildExt(build_ext):
exts
.
append
(
Extension
(
'readline'
,
[
'readline.c'
],
exts
.
append
(
Extension
(
'readline'
,
[
'readline.c'
],
library_dirs
=
[
'/usr/lib/termcap'
],
library_dirs
=
[
'/usr/lib/termcap'
],
libraries
=
readline_libs
)
)
libraries
=
readline_libs
)
)
if
platform
not
in
[
'mac'
]:
# crypt module.
# crypt module.
if
self
.
compiler
.
find_library_file
(
lib_dirs
,
'crypt'
):
if
self
.
compiler
.
find_library_file
(
lib_dirs
,
'crypt'
):
libs
=
[
'crypt'
]
libs
=
[
'crypt'
]
else
:
else
:
libs
=
[]
libs
=
[]
exts
.
append
(
Extension
(
'crypt'
,
[
'cryptmodule.c'
],
libraries
=
libs
)
)
exts
.
append
(
Extension
(
'crypt'
,
[
'cryptmodule.c'
],
libraries
=
libs
)
)
# socket(2)
# socket(2)
exts
.
append
(
Extension
(
'_socket'
,
[
'socketmodule.c'
],
exts
.
append
(
Extension
(
'_socket'
,
[
'socketmodule.c'
],
...
@@ -535,7 +537,7 @@ class PyBuildExt(build_ext):
...
@@ -535,7 +537,7 @@ class PyBuildExt(build_ext):
dblib_dir
=
None
dblib_dir
=
None
# The standard Unix dbm module:
# The standard Unix dbm module:
if
platform
not
in
[
'cygwin'
]:
if
platform
not
in
[
'cygwin'
,
'mac'
]:
if
(
self
.
compiler
.
find_library_file
(
lib_dirs
,
'ndbm'
)):
if
(
self
.
compiler
.
find_library_file
(
lib_dirs
,
'ndbm'
)):
exts
.
append
(
Extension
(
'dbm'
,
[
'dbmmodule.c'
],
exts
.
append
(
Extension
(
'dbm'
,
[
'dbmmodule.c'
],
libraries
=
[
'ndbm'
]
)
)
libraries
=
[
'ndbm'
]
)
)
...
...
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