Merge pull request #6 from graingert/patch-1

Add cython to install_requires Fixes #5
This commit is contained in:
Gabriel Pettier 2012-08-20 12:24:12 -07:00
commit 47e2fe0e06
1 changed files with 16 additions and 13 deletions

View File

@ -58,16 +58,19 @@ with open(join(dirname(__file__), 'jnius', 'config.pxi'), 'w') as fd:
# create the extension # create the extension
setup(name='jnius', setup(name='jnius',
version='1.0', version='1.0',
cmdclass={'build_ext': build_ext}, cmdclass={'build_ext': build_ext},
packages=['jnius'], packages=['jnius'],
ext_package='jnius', install_requires=[
ext_modules=[ "cython",
Extension( ],
'jnius', ['jnius/jnius.' + ext], ext_package='jnius',
libraries=libraries, ext_modules=[
library_dirs=library_dirs, Extension(
include_dirs=include_dirs, 'jnius', ['jnius/jnius.' + ext],
extra_link_args=extra_link_args) libraries=libraries,
] library_dirs=library_dirs,
) include_dirs=include_dirs,
extra_link_args=extra_link_args)
]
)