From: Robert Bradshaw Date: Sat, 29 Dec 2007 18:21:24 +0000 (-0800) Subject: misc updates X-Git-Tag: 0.9.6.14~59^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cc67e6d7ad3a363ac77eadfe9758b5607ec404e;p=cython.git misc updates --- diff --git a/Demos/Setup.py b/Demos/Setup.py index b0d2cb6c..4124147c 100644 --- a/Demos/Setup.py +++ b/Demos/Setup.py @@ -8,7 +8,20 @@ setup( Extension("primes", ["primes.pyx"]), Extension("spam", ["spam.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}, # include_dirs = "/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/" diff --git a/Demos/primes.pyx b/Demos/primes.pyx index dfbaae48..923964e3 100644 --- a/Demos/primes.pyx +++ b/Demos/primes.pyx @@ -1,3 +1,5 @@ +print "starting" + def primes(int kmax): cdef int n, k, i cdef int p[1000] diff --git a/Demos/spam.pyx b/Demos/spam.pyx index d70eccfa..f954f078 100644 --- a/Demos/spam.pyx +++ b/Demos/spam.pyx @@ -4,8 +4,6 @@ cdef class Spam: - cdef int amount - def __new__(self): self.amount = 0 diff --git a/MANIFEST.in b/MANIFEST.in index 4c8e405d..f36c8fe3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,4 +6,6 @@ include bin/cython include cython.py include Cython/Compiler/Lexicon.pickle include Doc/* -include Demos/* +include Demos/*.p* +include Demos/Makefile* +include Cython/Compiler/Builtin.py diff --git a/setup.py b/setup.py index f58045ab..edf73920 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,7 @@ setup( "License :: OSI Approved :: Python Software Foundation License", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: C", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Compilers", "Topic :: Software Development :: Libraries :: Python Modules"