Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eb232bd1
Commit
eb232bd1
authored
Aug 01, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18517: Move definition of "xxlimited" extension to detect_modules().
parent
59a9333c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
setup.py
setup.py
+9
-8
No files found.
setup.py
View file @
eb232bd1
...
...
@@ -1525,6 +1525,15 @@ class PyBuildExt(build_ext):
if
'_tkinter'
not
in
[
e
.
name
for
e
in
self
.
extensions
]:
missing
.
append
(
'_tkinter'
)
## # Uncomment these lines if you want to play with xxmodule.c
## ext = Extension('xx', ['xxmodule.c'])
## self.extensions.append(ext)
if
'd'
not
in
sys
.
abiflags
:
ext
=
Extension
(
'xxlimited'
,
[
'xxlimited.c'
],
define_macros
=
[(
'Py_LIMITED_API'
,
1
)])
self
.
extensions
.
append
(
ext
)
return
missing
def
detect_tkinter_darwin
(
self
,
inc_dirs
,
lib_dirs
):
...
...
@@ -1722,14 +1731,6 @@ class PyBuildExt(build_ext):
)
self
.
extensions
.
append
(
ext
)
## # Uncomment these lines if you want to play with xxmodule.c
## ext = Extension('xx', ['xxmodule.c'])
## self.extensions.append(ext)
if
'd'
not
in
sys
.
abiflags
:
ext
=
Extension
(
'xxlimited'
,
[
'xxlimited.c'
],
define_macros
=
[(
'Py_LIMITED_API'
,
1
)])
self
.
extensions
.
append
(
ext
)
# XXX handle these, but how to detect?
# *** Uncomment and edit for PIL (TkImaging) extension only:
# -DWITH_PIL -I../Extensions/Imaging/libImaging tkImaging.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