-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.2 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from setuptools import setup, find_packages
#from Cython.Build import cythonize
from distutils.extension import Extension
with open("README.md","r") as fh:
long_description = fh.read()
try:
from Cython.Distutils import build_ext
except ImportError:
ext_modules = [
Extension("igblast_parser.module1", ["compiled/module1.c"]),
]
cmdclass = {}
else:
#ext_modules = cythonize("compiled/module1.pyx")
cmdclass = {'build_ext': build_ext}
ext_modules = [
Extension("igblast_parser.module1", ["compiled/module1.pyx"]),
]
setup(
name = "igblast_parser",
version = "0.0.4",
author = "Ariel Erijman & Brad Langhorst",
author_email = "[email protected]",
description = "Parser of Igblast results into a csv file",
long_description = long_description,
long_description_content_type = "text/markdown",
url = "https://github.com/aerijman/igblast-parser",
packages = find_packages(),
#classifiers = [
# "Programming language :: Python :: 3",
# "Licence :: OSI approved :: MIT Licence",
# "Operating system :: OS Independent",
#],
python_requires='>=3.6',
install_requires = ['pandas', 'numpy'],
ext_modules = ext_modules,
cmdclass = cmdclass,
scripts = ['bin/igblast-parser'],
)