Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
269fb2b8
Commit
269fb2b8
authored
Apr 16, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py2.3 fix
parent
a8c0f8e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Cython/Build/BuildExecutable.py
Cython/Build/BuildExecutable.py
+7
-2
No files found.
Cython/Build/BuildExecutable.py
View file @
269fb2b8
...
...
@@ -11,7 +11,6 @@ DEBUG = True
import
sys
import
os
import
subprocess
from
distutils
import
sysconfig
INCDIR
=
sysconfig
.
get_python_inc
()
...
...
@@ -51,7 +50,13 @@ def runcmd(cmd, shell=True):
else
:
_debug
(
' '
.
join
(
cmd
))
returncode
=
subprocess
.
call
(
cmd
,
shell
=
shell
)
try
:
import
subprocess
except
ImportError
:
# Python 2.3 ...
returncode
=
os
.
system
(
cmd
)
else
:
returncode
=
subprocess
.
call
(
cmd
,
shell
=
shell
)
if
returncode
:
sys
.
exit
(
returncode
)
...
...
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