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
Boxiang Sun
cython
Commits
af902b50
Commit
af902b50
authored
Apr 02, 2011
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG Make sure bin/cython imports the right Cython module
parent
1e4a346e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
bin/cygdb
bin/cygdb
+6
-0
bin/cython
bin/cython
+8
-0
No files found.
bin/cygdb
View file @
af902b50
#!/usr/bin/env python
#!/usr/bin/env python
import
sys
import
sys
import
os
# Make sure we import the right Cython
binpath
,
_
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))
cythonpath
,
_
=
os
.
path
.
split
(
binpath
)
sys
.
path
.
insert
(
0
,
cythonpath
)
from
Cython.Debugger
import
Cygdb
as
cygdb
from
Cython.Debugger
import
Cygdb
as
cygdb
...
...
bin/cython
View file @
af902b50
...
@@ -4,5 +4,13 @@
...
@@ -4,5 +4,13 @@
# Cython -- Main Program, Unix
# Cython -- Main Program, Unix
#
#
import
os
import
sys
# Make sure we import the right Cython
binpath
,
_
=
os
.
path
.
split
(
os
.
path
.
realpath
(
__file__
))
cythonpath
,
_
=
os
.
path
.
split
(
binpath
)
sys
.
path
.
insert
(
0
,
cythonpath
)
from
Cython.Compiler.Main
import
main
from
Cython.Compiler.Main
import
main
main
(
command_line
=
1
)
main
(
command_line
=
1
)
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