summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 7b3ba28..800e1d7 100644
--- a/setup.py
+++ b/setup.py
@@ -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"])
+ ]
)