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
a0d98159
Commit
a0d98159
authored
Jan 17, 2001
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The signal module has to be compiled statically, so add it to Setup.dist
and remove support for it from setup.py
parent
b2016c9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
Modules/Setup.dist
Modules/Setup.dist
+3
-0
setup.py
setup.py
+0
-9
No files found.
Modules/Setup.dist
View file @
a0d98159
...
@@ -93,5 +93,8 @@ PYTHONPATH=$(COREPYTHONPATH)
...
@@ -93,5 +93,8 @@ PYTHONPATH=$(COREPYTHONPATH)
posix
posixmodule.c
# posix (UNIX) system calls
posix
posixmodule.c
# posix (UNIX) system calls
_sre
_sre.c
# Fredrik Lundh's new regular expressions
_sre
_sre.c
# Fredrik Lundh's new regular expressions
# The signal module can't be compiled as a dynamically linked module.
signal
signalmodule.c
# signal(2)
# The rest of the modules previously listed in this file are built
# The rest of the modules previously listed in this file are built
# by the setup.py script in Python 2.1.
# by the setup.py script in Python 2.1.
setup.py
View file @
a0d98159
...
@@ -53,14 +53,6 @@ class PyBuildExt(build_ext):
...
@@ -53,14 +53,6 @@ class PyBuildExt(build_ext):
ext
.
include_dirs
.
append
(
'.'
)
# to get config.h
ext
.
include_dirs
.
append
(
'.'
)
# to get config.h
ext
.
include_dirs
.
append
(
os
.
path
.
join
(
srcdir
,
'./Include'
)
)
ext
.
include_dirs
.
append
(
os
.
path
.
join
(
srcdir
,
'./Include'
)
)
# If the signal module is being compiled, remove the sigcheck.o and
# intrcheck.o object files from the archive.
if
module_enabled
(
self
.
extensions
,
'signal'
):
print
'removing sigcheck.o intrcheck.o'
ar
,
library
=
sysconfig
.
get_config_vars
(
'AR'
,
'LIBRARY'
)
cmd
=
'%s d Modules/%s sigcheck.o intrcheck.o'
%
(
ar
,
library
)
os
.
system
(
cmd
)
build_ext
.
build_extensions
(
self
)
build_ext
.
build_extensions
(
self
)
def
detect_modules
(
self
):
def
detect_modules
(
self
):
...
@@ -81,7 +73,6 @@ class PyBuildExt(build_ext):
...
@@ -81,7 +73,6 @@ class PyBuildExt(build_ext):
# Some modules that are normally always on:
# Some modules that are normally always on:
exts
.
append
(
Extension
(
'regex'
,
[
'regexmodule.c'
,
'regexpr.c'
])
)
exts
.
append
(
Extension
(
'regex'
,
[
'regexmodule.c'
,
'regexpr.c'
])
)
exts
.
append
(
Extension
(
'pcre'
,
[
'pcremodule.c'
,
'pypcre.c'
])
)
exts
.
append
(
Extension
(
'pcre'
,
[
'pcremodule.c'
,
'pypcre.c'
])
)
exts
.
append
(
Extension
(
'signal'
,
[
'signalmodule.c'
])
)
exts
.
append
(
Extension
(
'xreadlines'
,
[
'xreadlinesmodule.c'
])
)
exts
.
append
(
Extension
(
'xreadlines'
,
[
'xreadlinesmodule.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