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
6b3cc5a8
Commit
6b3cc5a8
authored
Jan 22, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename many of the pyrex_ options to cython_ (as several are Cython-specific).
parent
df41d977
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
109 additions
and
85 deletions
+109
-85
Cython/CodeWriter.py
Cython/CodeWriter.py
+1
-1
Cython/Compiler/MemoryView.py
Cython/Compiler/MemoryView.py
+1
-1
Cython/Debugger/Tests/TestLibCython.py
Cython/Debugger/Tests/TestLibCython.py
+1
-1
Cython/Debugger/Tests/test_libpython_in_gdb.py
Cython/Debugger/Tests/test_libpython_in_gdb.py
+1
-1
Cython/Distutils/build_ext.py
Cython/Distutils/build_ext.py
+79
-55
Cython/Distutils/extension.py
Cython/Distutils/extension.py
+26
-26
No files found.
Cython/CodeWriter.py
View file @
6b3cc5a8
...
@@ -509,4 +509,4 @@ class PxdWriter(DeclarationWriter):
...
@@ -509,4 +509,4 @@ class PxdWriter(DeclarationWriter):
def
visit_StatNode
(
self
,
node
):
def
visit_StatNode
(
self
,
node
):
pass
pass
\ No newline at end of file
Cython/Compiler/MemoryView.py
View file @
6b3cc5a8
...
@@ -928,4 +928,4 @@ cython_array_utility_code = load_memview_cy_utility(
...
@@ -928,4 +928,4 @@ cython_array_utility_code = load_memview_cy_utility(
# "MemviewFromSlice",
# "MemviewFromSlice",
# context=context,
# context=context,
# requires=[view_utility_code],
# requires=[view_utility_code],
# )
# )
\ No newline at end of file
Cython/Debugger/Tests/TestLibCython.py
View file @
6b3cc5a8
...
@@ -150,7 +150,7 @@ class DebuggerTestCase(unittest.TestCase):
...
@@ -150,7 +150,7 @@ class DebuggerTestCase(unittest.TestCase):
# ext = Cython.Distutils.extension.Extension(
# ext = Cython.Distutils.extension.Extension(
# 'codefile',
# 'codefile',
# ['codefile.pyx'],
# ['codefile.pyx'],
#
pyrex
_gdb=True,
#
cython
_gdb=True,
# extra_objects=['cfuncs.o'])
# extra_objects=['cfuncs.o'])
#
#
# distutils.core.setup(
# distutils.core.setup(
...
...
Cython/Debugger/Tests/test_libpython_in_gdb.py
View file @
6b3cc5a8
...
@@ -112,4 +112,4 @@ class TestPrettyPrinters(test_libcython_in_gdb.DebugTestCase):
...
@@ -112,4 +112,4 @@ class TestPrettyPrinters(test_libcython_in_gdb.DebugTestCase):
def
test_frame_type
(
self
):
def
test_frame_type
(
self
):
frame
=
self
.
pyobject_fromcode
(
'PyEval_GetFrame()'
)
frame
=
self
.
pyobject_fromcode
(
'PyEval_GetFrame()'
)
self
.
assertEqual
(
type
(
frame
),
libpython
.
PyFrameObjectPtr
)
self
.
assertEqual
(
type
(
frame
),
libpython
.
PyFrameObjectPtr
)
\ No newline at end of file
Cython/Distutils/build_ext.py
View file @
6b3cc5a8
This diff is collapsed.
Click to expand it.
Cython/Distutils/extension.py
View file @
6b3cc5a8
...
@@ -17,22 +17,22 @@ except ImportError:
...
@@ -17,22 +17,22 @@ except ImportError:
class
Extension
(
_Extension
.
Extension
):
class
Extension
(
_Extension
.
Extension
):
_Extension
.
Extension
.
__doc__
+
\
_Extension
.
Extension
.
__doc__
+
\
"""
pyrex
_include_dirs : [string]
"""
cython
_include_dirs : [string]
list of directories to search for Pyrex header files (.pxd) (in
list of directories to search for Pyrex header files (.pxd) (in
Unix form for portability)
Unix form for portability)
pyrex
_directives : {string:value}
cython
_directives : {string:value}
dict of compiler directives
dict of compiler directives
pyrex
_create_listing_file : boolean
cython
_create_listing_file : boolean
write pyrex error messages to a listing (.lis) file.
write pyrex error messages to a listing (.lis) file.
pyrex
_line_directives : boolean
cython
_line_directives : boolean
emit pyx line numbers for debugging/profiling
emit pyx line numbers for debugging/profiling
pyrex
_cplus : boolean
cython
_cplus : boolean
use the C++ compiler for compiling and linking.
use the C++ compiler for compiling and linking.
pyrex
_c_in_temp : boolean
cython
_c_in_temp : boolean
put generated C files in temp directory.
put generated C files in temp directory.
pyrex
_gen_pxi : boolean
cython
_gen_pxi : boolean
generate .pxi file for public declarations
generate .pxi file for public declarations
pyrex
_gdb : boolean
cython
_gdb : boolean
generate Cython debug information for this extension for cygdb
generate Cython debug information for this extension for cygdb
no_c_in_traceback : boolean
no_c_in_traceback : boolean
emit the c file and line number from the traceback for exceptions
emit the c file and line number from the traceback for exceptions
...
@@ -54,16 +54,16 @@ class Extension(_Extension.Extension):
...
@@ -54,16 +54,16 @@ class Extension(_Extension.Extension):
#swig_opts = None,
#swig_opts = None,
depends
=
None
,
depends
=
None
,
language
=
None
,
language
=
None
,
pyrex
_include_dirs
=
None
,
cython
_include_dirs
=
None
,
pyrex
_directives
=
None
,
cython
_directives
=
None
,
pyrex
_create_listing
=
0
,
cython
_create_listing
=
0
,
pyrex
_line_directives
=
0
,
cython
_line_directives
=
0
,
pyrex
_cplus
=
0
,
cython
_cplus
=
0
,
pyrex
_c_in_temp
=
0
,
cython
_c_in_temp
=
0
,
pyrex
_gen_pxi
=
0
,
cython
_gen_pxi
=
0
,
pyrex
_gdb
=
False
,
cython
_gdb
=
False
,
no_c_in_traceback
=
False
,
no_c_in_traceback
=
False
,
pyrex
_compile_time_env
=
None
,
cython
_compile_time_env
=
None
,
**
kw
):
**
kw
):
_Extension
.
Extension
.
__init__
(
self
,
name
,
sources
,
_Extension
.
Extension
.
__init__
(
self
,
name
,
sources
,
...
@@ -82,16 +82,16 @@ class Extension(_Extension.Extension):
...
@@ -82,16 +82,16 @@ class Extension(_Extension.Extension):
language
=
language
,
language
=
language
,
**
kw
)
**
kw
)
self
.
pyrex_include_dirs
=
pyrex
_include_dirs
or
[]
self
.
cython_include_dirs
=
cython
_include_dirs
or
[]
self
.
pyrex_directives
=
pyrex
_directives
or
{}
self
.
cython_directives
=
cython
_directives
or
{}
self
.
pyrex_create_listing
=
pyrex
_create_listing
self
.
cython_create_listing
=
cython
_create_listing
self
.
pyrex_line_directives
=
pyrex
_line_directives
self
.
cython_line_directives
=
cython
_line_directives
self
.
pyrex_cplus
=
pyrex
_cplus
self
.
cython_cplus
=
cython
_cplus
self
.
pyrex_c_in_temp
=
pyrex
_c_in_temp
self
.
cython_c_in_temp
=
cython
_c_in_temp
self
.
pyrex_gen_pxi
=
pyrex
_gen_pxi
self
.
cython_gen_pxi
=
cython
_gen_pxi
self
.
pyrex_gdb
=
pyrex
_gdb
self
.
cython_gdb
=
cython
_gdb
self
.
no_c_in_traceback
=
no_c_in_traceback
self
.
no_c_in_traceback
=
no_c_in_traceback
self
.
pyrex_compile_time_env
=
pyrex
_compile_time_env
self
.
cython_compile_time_env
=
cython
_compile_time_env
# class Extension
# class Extension
...
...
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