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
8c510e70
Kaydet (Commit)
8c510e70
authored
Ock 13, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
üst
5c767c2f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
NEWS
Misc/NEWS
+6
-0
fficonfig.py.in
Modules/_ctypes/libffi/fficonfig.py.in
+0
-2
setup.py
setup.py
+6
-5
No files found.
Misc/NEWS
Dosyayı görüntüle @
8c510e70
...
...
@@ -39,6 +39,12 @@ Library
Extension extra options may change the output without changing the .c
file). Initial patch by Collin Winter.
Build
-----
- Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
What's New in Python 2.7 alpha 2?
=================================
...
...
Modules/_ctypes/libffi/fficonfig.py.in
Dosyayı görüntüle @
8c510e70
...
...
@@ -28,8 +28,6 @@ ffi_platforms = {
'PA_HPUX': ['src/pa/hpux32.S', 'src/pa/ffi.c'],
}
ffi_srcdir = '@srcdir@'
ffi_sources += ffi_platforms['@TARGET@']
ffi_sources = [os.path.join('@srcdir@', f) for f in ffi_sources]
ffi_cflags = '@CFLAGS@'
setup.py
Dosyayı görüntüle @
8c510e70
...
...
@@ -813,7 +813,7 @@ class PyBuildExt(build_ext):
print
"being ignored (4.6.x must be >= 4.6.21)"
continue
if
(
(
not
db_ver_inc_map
.
has_key
(
db_ver
)
)
and
if
(
(
db_ver
not
in
db_ver_inc_map
)
and
allow_db_ver
(
db_ver
)
):
# save the include directory with the db.h version
# (first occurrence only)
...
...
@@ -1732,17 +1732,18 @@ class PyBuildExt(build_ext):
return
False
fficonfig
=
{}
execfile
(
ffi_configfile
,
globals
(),
fficonfig
)
ffi_srcdir
=
os
.
path
.
join
(
fficonfig
[
'ffi_srcdir'
],
'src'
)
exec
open
(
ffi_configfile
)
in
fficonfig
# Add .S (preprocessed assembly) to C compiler source extensions.
self
.
compiler_obj
.
src_extensions
.
append
(
'.S'
)
include_dirs
=
[
os
.
path
.
join
(
ffi_builddir
,
'include'
),
ffi_builddir
,
ffi_srcdir
]
ffi_builddir
,
os
.
path
.
join
(
ffi_srcdir
,
'src'
)]
extra_compile_args
=
fficonfig
[
'ffi_cflags'
]
.
split
()
ext
.
sources
.
extend
(
fficonfig
[
'ffi_sources'
])
ext
.
sources
.
extend
(
os
.
path
.
join
(
ffi_srcdir
,
f
)
for
f
in
fficonfig
[
'ffi_sources'
])
ext
.
include_dirs
.
extend
(
include_dirs
)
ext
.
extra_compile_args
.
extend
(
extra_compile_args
)
return
True
...
...
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