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
be4e6108
Commit
be4e6108
authored
Dec 29, 2007
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
merged changes from 0.9.6.10
parents
6cb5d7d9
9cc67e6d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
4 deletions
+20
-4
Demos/Setup.py
Demos/Setup.py
+14
-1
Demos/primes.pyx
Demos/primes.pyx
+2
-0
Demos/spam.pyx
Demos/spam.pyx
+0
-2
MANIFEST.in
MANIFEST.in
+3
-1
setup.py
setup.py
+1
-0
No files found.
Demos/Setup.py
View file @
be4e6108
...
@@ -8,7 +8,20 @@ setup(
...
@@ -8,7 +8,20 @@ setup(
Extension
(
"primes"
,
[
"primes.pyx"
]),
Extension
(
"primes"
,
[
"primes.pyx"
]),
Extension
(
"spam"
,
[
"spam.pyx"
]),
Extension
(
"spam"
,
[
"spam.pyx"
]),
# Extension("numeric_demo", ["numeric_demo.pyx"]),
# Extension("numeric_demo", ["numeric_demo.pyx"]),
Extension
(
"test"
,
[
"test.pyx"
]),
# Extension("test", ["test.pyx"]),
Extension
(
"func_pointers"
,
[
"func_pointers.pyx"
]),
# Extension("inplace", ["inplace.pyx"]),
# Extension("withGIL", ["withGIL.pyx"]),
Extension
(
"class_members"
,
[
"class_members.pyx"
]),
# Extension("inherit_bug", ["inherit_bug.pyx"]),
Extension
(
"override"
,
[
"override.pyx"
]),
Extension
(
"cond"
,
[
"cond.pyx"
]),
Extension
(
"submodule.test"
,
[
"submodule/test.pyx"
]),
Extension
(
"errors"
,
[
"errors.pyx"
]),
Extension
(
"cpdef"
,
[
"cpdef.pyx"
]),
Extension
(
"range"
,
[
"range.pyx"
]),
Extension
(
"ints"
,
[
"ints.pyx"
]),
Extension
(
"detect_override"
,
[
"detect_override.pyx"
]),
],
],
cmdclass
=
{
'build_ext'
:
build_ext
},
cmdclass
=
{
'build_ext'
:
build_ext
},
# include_dirs = "/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/"
# include_dirs = "/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/"
...
...
Demos/primes.pyx
View file @
be4e6108
print
"starting"
def
primes
(
int
kmax
):
def
primes
(
int
kmax
):
cdef
int
n
,
k
,
i
cdef
int
n
,
k
,
i
cdef
int
p
[
1000
]
cdef
int
p
[
1000
]
...
...
Demos/spam.pyx
View file @
be4e6108
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
cdef
class
Spam
:
cdef
class
Spam
:
cdef
int
amount
def
__new__
(
self
):
def
__new__
(
self
):
self
.
amount
=
0
self
.
amount
=
0
...
...
MANIFEST.in
View file @
be4e6108
...
@@ -6,4 +6,6 @@ include bin/cython
...
@@ -6,4 +6,6 @@ include bin/cython
include cython.py
include cython.py
include Cython/Compiler/Lexicon.pickle
include Cython/Compiler/Lexicon.pickle
include Doc/*
include Doc/*
include Demos/*
include Demos/*.p*
include Demos/Makefile*
include Cython/Compiler/Builtin.py
setup.py
View file @
be4e6108
...
@@ -52,6 +52,7 @@ setup(
...
@@ -52,6 +52,7 @@ setup(
"License :: OSI Approved :: Python Software Foundation License"
,
"License :: OSI Approved :: Python Software Foundation License"
,
"Operating System :: OS Independent"
,
"Operating System :: OS Independent"
,
"Programming Language :: Python"
,
"Programming Language :: Python"
,
"Programming Language :: C"
,
"Topic :: Software Development :: Code Generators"
,
"Topic :: Software Development :: Code Generators"
,
"Topic :: Software Development :: Compilers"
,
"Topic :: Software Development :: Compilers"
,
"Topic :: Software Development :: Libraries :: Python Modules"
"Topic :: Software Development :: Libraries :: Python Modules"
...
...
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