diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,7 @@ from distutils.core import setup -from Cython.Build import cythonize +from distutils.extension import Extension + +from Cython.Distutils import build_ext setup( name='test_Cython', @@ -8,5 +10,10 @@ setup( platforms=['any'], author='Matej Cepl', author_email='mcepl@cepl.eu', - ext_modules = cythonize("helloworld.pyx") + cmdclass={'build_ext': build_ext}, + ext_modules = [ + Extension("randomize", + ["randomize.pyx"], + libraries=["ssl", "crypto"]) + ] ) |