X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=setup.py;h=fb4b2e329436be7e6f4440ebfcec5818a0379d76;hp=842c7e4a4f3ba504f438ce0e8332e6fde0d54ee6;hb=1880336bb4dedf2261d8902070ee3f143718c8e4;hpb=bcc629f4faa2e762fb9d8c92af7583497dc15e2a diff --git a/setup.py b/setup.py index 842c7e4..fb4b2e3 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import os import shutil import sys -from distutils.core import setup, Command +from distutils.core import setup, Command, Extension from distutils.command.clean import clean as distutils_clean from distutils.command.sdist import sdist as distutils_sdist @@ -103,9 +103,9 @@ class test_cmd(Command): raise SystemExit("Test failures are listed above.") if __name__ == "__main__": - setup(cmdclass=dict( - clean=clean, test=test_cmd, coverage=coverage_cmd, sdist=sdist), - name="python-bulletml", version="1", + setup(cmdclass=dict(clean=clean, test=test_cmd, coverage=coverage_cmd, + sdist=sdist), + name="python-bulletml", version="2", url="http://code.google.com/p/python-bulletml/", description="parse and run BulletML scripts", author="Joe Wreschnig", @@ -114,6 +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', + [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,