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
Gwenaël Samain
cython
Commits
dcb1326a
Commit
dcb1326a
authored
Jan 28, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #84 from Juntalis/master
Specifying a custom main function with --embed= causes a TypeError
parents
6f7bc67e
b471d7c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Compiler/CmdLine.py
Cython/Compiler/CmdLine.py
+1
-1
No files found.
Cython/Compiler/CmdLine.py
View file @
dcb1326a
...
@@ -89,7 +89,7 @@ def parse_command_line(args):
...
@@ -89,7 +89,7 @@ def parse_command_line(args):
elif
option
==
"--embed"
:
elif
option
==
"--embed"
:
Options
.
embed
=
"main"
Options
.
embed
=
"main"
elif
option
.
startswith
(
"--embed="
):
elif
option
.
startswith
(
"--embed="
):
Options
.
embed
=
option
s
[
8
:]
Options
.
embed
=
option
[
8
:]
elif
option
.
startswith
(
"-I"
):
elif
option
.
startswith
(
"-I"
):
options
.
include_path
.
append
(
get_param
(
option
))
options
.
include_path
.
append
(
get_param
(
option
))
elif
option
==
"--include-dir"
:
elif
option
==
"--include-dir"
:
...
...
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