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
ebe8ab80
Commit
ebe8ab80
authored
May 23, 2009
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build _functools and _locale into the core library
parent
bc2625a6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
21 deletions
+3
-21
configure
configure
+2
-2
configure.in
configure.in
+1
-1
setup.py
setup.py
+0
-18
No files found.
configure
View file @
ebe8ab80
#! /bin/sh
# From configure.in Revision: 72
504
.
# From configure.in Revision: 72
800
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 3.1.
#
...
...
@@ -13524,7 +13524,7 @@ then
# slowdown in stead of a speedup, maybe due to the large number of
# dynamic loads Python does.
LINKFORSHARED
=
"
$extra_undefs
"
LINKFORSHARED
=
"
$extra_undefs
-framework CoreFoundation
"
if
test
"
$enable_framework
"
then
LINKFORSHARED
=
"
$LINKFORSHARED
"
'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
...
...
configure.in
View file @
ebe8ab80
...
...
@@ -1744,7 +1744,7 @@ then
# slowdown in stead of a speedup, maybe due to the large number of
# dynamic loads Python does.
LINKFORSHARED="$extra_undefs"
LINKFORSHARED="$extra_undefs
-framework CoreFoundation
"
if test "$enable_framework"
then
LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
...
...
setup.py
View file @
ebe8ab80
...
...
@@ -424,8 +424,6 @@ class PyBuildExt(build_ext):
exts
.
append
(
Extension
(
"_heapq"
,
[
"_heapqmodule.c"
])
)
# operator.add() and similar goodies
exts
.
append
(
Extension
(
'operator'
,
[
'operator.c'
])
)
# _functools
exts
.
append
(
Extension
(
"_functools"
,
[
"_functoolsmodule.c"
])
)
# C-optimized pickle replacement
exts
.
append
(
Extension
(
"_pickle"
,
[
"_pickle.c"
])
)
# atexit
...
...
@@ -439,22 +437,6 @@ class PyBuildExt(build_ext):
exts
.
append
(
Extension
(
'_lsprof'
,
[
'_lsprof.c'
,
'rotatingtree.c'
])
)
# static Unicode character database
exts
.
append
(
Extension
(
'unicodedata'
,
[
'unicodedata.c'
])
)
# access to ISO C locale support
data
=
open
(
'pyconfig.h'
).
read
()
m
=
re
.
search
(
r"#s*define\
s+WITH_LIBINTL
\s+1\
s*
", data)
if m is not None:
locale_libs = ['intl']
else:
locale_libs = []
if platform == 'darwin':
locale_extra_link_args = ['-framework', 'CoreFoundation']
else:
locale_extra_link_args = []
exts.append( Extension('_locale', ['_localemodule.c'],
libraries=locale_libs,
extra_link_args=locale_extra_link_args) )
# Modules with some UNIX dependencies -- on by default:
# (If you have a really backward UNIX, select and socket may not be
...
...
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