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
7ab5923d
Kaydet (Commit)
7ab5923d
authored
Mar 25, 2002
tarafından
Michael W. Hudson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
nnorwitz's fix for:
[ 532618 ] install fails if build .so fails
üst
dcddbc3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
setup.py
setup.py
+8
-3
No files found.
setup.py
Dosyayı görüntüle @
7ab5923d
...
@@ -176,8 +176,13 @@ class PyBuildExt(build_ext):
...
@@ -176,8 +176,13 @@ class PyBuildExt(build_ext):
# distutils.command.build_ext.build_extension(). The
# distutils.command.build_ext.build_extension(). The
# _built_objects attribute is stored there strictly for
# _built_objects attribute is stored there strictly for
# use here.
# use here.
for
filename
in
self
.
_built_objects
:
# If there is a failure, _built_objects may not be there,
os
.
remove
(
filename
)
# so catch the AttributeError and move on.
try
:
for
filename
in
self
.
_built_objects
:
os
.
remove
(
filename
)
except
AttributeError
:
self
.
announce
(
'unable to remove files (ignored)'
)
def
get_platform
(
self
):
def
get_platform
(
self
):
# Get value of sys.platform
# Get value of sys.platform
...
@@ -587,7 +592,7 @@ class PyBuildExt(build_ext):
...
@@ -587,7 +592,7 @@ class PyBuildExt(build_ext):
# procedure triggers on.
# procedure triggers on.
frameworkdir
=
sysconfig
.
get_config_var
(
'PYTHONFRAMEWORKDIR'
)
frameworkdir
=
sysconfig
.
get_config_var
(
'PYTHONFRAMEWORKDIR'
)
exts
.
append
(
Extension
(
'gestalt'
,
[
'gestaltmodule.c'
],
exts
.
append
(
Extension
(
'gestalt'
,
[
'gestaltmodule.c'
],
extra_link_args
=
[
'-framework'
,
'Carbon'
])
)
extra_link_args
=
[
'-framework'
,
'Carbon'
])
)
exts
.
append
(
Extension
(
'MacOS'
,
[
'macosmodule.c'
],
exts
.
append
(
Extension
(
'MacOS'
,
[
'macosmodule.c'
],
extra_link_args
=
[
'-framework'
,
'Carbon'
])
)
extra_link_args
=
[
'-framework'
,
'Carbon'
])
)
exts
.
append
(
Extension
(
'icglue'
,
[
'icgluemodule.c'
],
exts
.
append
(
Extension
(
'icglue'
,
[
'icgluemodule.c'
],
...
...
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