dirty temporary fix for install
This commit is contained in:
12
setup.py
12
setup.py
@ -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,
|
||||
|
Reference in New Issue
Block a user