From eb95963d98aa474954987ed92d4e935d885c6084 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Mon, 20 Aug 2012 20:49:54 +0200 Subject: [PATCH] Add cython to install_requires Fixes #5 --- setup.py | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/setup.py b/setup.py index 7b9729a..c17fad1 100644 --- a/setup.py +++ b/setup.py @@ -58,16 +58,19 @@ with open(join(dirname(__file__), 'jnius', 'config.pxi'), 'w') as fd: # create the extension setup(name='jnius', - version='1.0', - cmdclass={'build_ext': build_ext}, - packages=['jnius'], - ext_package='jnius', - ext_modules=[ - Extension( - 'jnius', ['jnius/jnius.' + ext], - libraries=libraries, - library_dirs=library_dirs, - include_dirs=include_dirs, - extra_link_args=extra_link_args) - ] - ) + version='1.0', + cmdclass={'build_ext': build_ext}, + packages=['jnius'], + install_requires=[ + "cython", + ], + ext_package='jnius', + ext_modules=[ + Extension( + 'jnius', ['jnius/jnius.' + ext], + libraries=libraries, + library_dirs=library_dirs, + include_dirs=include_dirs, + extra_link_args=extra_link_args) + ] + )