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
b467d154
Commit
b467d154
authored
Aug 01, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18517: merge from 3.3
parents
970a87fc
cd3d8fb8
Changes
1
Show 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 @
b467d154
...
...
@@ -1534,6 +1534,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
):
...
...
@@ -1731,14 +1740,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