Commit d6056a8e by Celine Mercier

dirty temporary fix for install

parent ac47bdce
......@@ -54,19 +54,14 @@ cython_src = [x for x in glob.iglob('python/obitools3/**/*.pyx',
recursive=True
)
]
#with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
# readme = f.read()
install_clibdir_option="-DPYTHONLIB:STRING='%s'" % get_python_lib()
subprocess.call(['cmake', install_clibdir_option, 'src'])
subprocess.call(['make', '-C', 'src','install'])
subprocess.call(['make','install']) # temporary fix but should be in src
cython_ext = [Extension('.'.join([os.path.dirname(x).replace("python/",""),
os.path.splitext(os.path.basename(x))[0]]).replace('/','.'),
......@@ -88,7 +83,6 @@ cython_ext = [Extension('.'.join([os.path.dirname(x).replace("python/",""),
for x in cython_src
]
xx = cythonize(cython_ext,
language_level=3,
annotate=True,
......@@ -107,8 +101,6 @@ classifiers=['Development Status :: 1 - Planning',
'Topic :: Utilities',
]
setup(name=PACKAGE,
description=DESCRIPTION,
classifiers=classifiers,
......
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