Commit 0e03e1f2 authored by Pumpe, Daniel (dpumpe)'s avatar Pumpe, Daniel (dpumpe)
Browse files

Minor change in setup.py to be able to get installed on OS X machine.

parent 5fc303ca
...@@ -23,12 +23,10 @@ from setuptools import setup, find_packages ...@@ -23,12 +23,10 @@ from setuptools import setup, find_packages
import os import os
from Cython.Build import cythonize from Cython.Build import cythonize
import numpy
exec(open('nifty/version.py').read()) exec(open('nifty/version.py').read())
ext_modules = cythonize(
"nifty/operators/fft_operator/transformations/lm_transformation_factory"
".pyx")
setup(name="ift_nifty", setup(name="ift_nifty",
version=__version__, version=__version__,
...@@ -39,7 +37,10 @@ setup(name="ift_nifty", ...@@ -39,7 +37,10 @@ setup(name="ift_nifty",
packages=find_packages(), packages=find_packages(),
package_dir={"nifty": "nifty"}, package_dir={"nifty": "nifty"},
zip_safe=False, zip_safe=False,
ext_modules=ext_modules, ext_modules=cythonize(
"nifty/operators/fft_operator/transformations/lm_transformation_factory"
".pyx"),
include_dirs= [numpy.get_include()],
dependency_links=[ dependency_links=[
'git+https://gitlab.mpcdf.mpg.de/ift/keepers.git#egg=keepers', 'git+https://gitlab.mpcdf.mpg.de/ift/keepers.git#egg=keepers',
'git+https://gitlab.mpcdf.mpg.de/ift/d2o.git#egg=d2o'], 'git+https://gitlab.mpcdf.mpg.de/ift/d2o.git#egg=d2o'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment