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