Reject all expressions with __ in them.
[python-bulletml.git] / setup.py
index ba5af94..fb4b2e3 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,6 @@ import shutil
 import sys
 
 from distutils.core import setup, Command, Extension
-from Pyrex.Distutils import build_ext
-
 from distutils.command.clean import clean as distutils_clean
 from distutils.command.sdist import sdist as distutils_sdist
 
@@ -106,8 +104,8 @@ class test_cmd(Command):
 
 if __name__ == "__main__":
     setup(cmdclass=dict(clean=clean, test=test_cmd, coverage=coverage_cmd,
-                        sdist=sdist, build_ext=build_ext),
-          name="python-bulletml", version="1",
+                        sdist=sdist),
+          name="python-bulletml", version="2",
           url="http://code.google.com/p/python-bulletml/",
           description="parse and run BulletML scripts",
           author="Joe Wreschnig",
@@ -116,8 +114,9 @@ if __name__ == "__main__":
           packages=["bulletml"],
           data_files=glob.glob("examples/*/*.xml") + ["examples/template.xml"],
           scripts=["bulletml-runner", "bulletml-to-bulletyaml"],
-          ext_modules=[
-              Extension('bulletml._collision', ['bulletml/_collision.pyx'])],
+          ext_modules=[Extension(
+              'bulletml._collision',
+              [os.path.join('bulletml', '_collision.c')])],
           long_description="""\
 BulletML is the Bullet Markup Language. BulletML can describe the
 barrage of bullets in shooting games. (For example Progear, Psyvariar,