Skip to content

Commit

Permalink
Use setuptools to Cythonize
Browse files Browse the repository at this point in the history
  • Loading branch information
daleroberts committed Feb 14, 2017
1 parent dbfbf62 commit eec3045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -27,6 +27,7 @@ doc: docs/README_.md docs/plots.py
git push

sdist:
@rm -fr dist/
python3 setup.py sdist

upload:
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Expand Up @@ -4,7 +4,9 @@

import numpy as np
from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
from setuptools import setup, Extension

#from Cython.Distutils import build_ext

extensions = [Extension('hdmedians.geomedian',
['hdmedians/geomedian.pyx'],
Expand All @@ -20,5 +22,5 @@
author='Dale Roberts',
author_email='dale.o.roberts@gmail.com',
license='GPL3',
cmdclass = {'build_ext': build_ext},
# cmdclass = {'build_ext': build_ext},
ext_modules = extensions)

0 comments on commit eec3045

Please sign in to comment.