Created
September 23, 2016 11:45
-
-
Save piec/adc5b81f21672f311c0fe2425bd67622 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from setuptools import setup | |
import sys | |
try: | |
from Cython.Build import cythonize | |
except ImportError: | |
print('Requires cython: pip install cython', file=sys.stderr) | |
sys.exit(1) | |
setup( | |
name='mymodule', | |
version='1.0', | |
description='desc', | |
author='author', | |
author_email='author@domain.com', | |
url='https://domain.com', | |
install_requires=[ | |
'numpy' | |
], | |
ext_modules=cythonize('mymodule/*.py', keep_sources=True) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment