-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
29 lines (27 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from setuptools import setup, Extension
import numpy
from Cython.Build import cythonize
# from syri import __version__
import glob
setup(name="syri",
# version='{}'.format(__version__),
description='Synteny and rearrangement identifier between whole-genome assemblies',
author='Manish Goel',
author_email='goel@mpipz.mpg.de',
url='https://github.com/schneebergerlab/syri',
license='MIT License',
license_files=('LICENSE',),
# ext_modules=cythonize([Extension('syri.synsearchFunctions', ['syri/pyxFiles/synsearchFunctions.pyx']),
# Extension('syri.inversions', ['syri/pyxFiles/inversions.pyx']),
# Extension('syri.tdfunc', ['syri/pyxFiles/tdfunc.pyx']),
# Extension('syri.findshv', ['syri/pyxFiles/findshv.pyx']),
# Extension('syri.findsv', ['syri/pyxFiles/findsv.pyx']),
# Extension('syri.writeout', ['syri/pyxFiles/writeout.pyx'])]),
ext_modules=cythonize([Extension(f"syri.{name.split('/')[-1].split('.')[0]}", [name])
for name in glob.iglob('syri/pyxFiles/*.pyx')]),
packages=["syri", "syri.scripts"],
include_dirs=[numpy.get_include()],
# scripts=['bin/syri', 'bin/chroder'],
entry_points={"console_scripts": ["syri=syri.scripts.syri:main", "chroder=syri.scripts.chroder:main"]},
long_description=open('README.rst').read(),
)