forked from merenlab/anvio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (54 loc) · 2.55 KB
/
setup.py
File metadata and controls
67 lines (54 loc) · 2.55 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import os
import sys
import glob
try:
import numpy
except ImportError:
print "You need to have numpy installed on your system to run setup.py. Sorry!"
sys.exit()
try:
from Cython.Distutils import build_ext
except ImportError:
print "You need to have Cython installed on your system to run setup.py. Sorry!"
sys.exit()
from setuptools import setup, find_packages, Extension
if os.environ.get('USER','') == 'vagrant':
del os.link
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
include_dirs_for_concoct = [numpy.get_include(), '/opt/local/include/']
setup(
name = "anvio",
version = open('VERSION').read().strip(),
scripts = [script for script in glob.glob('bin/*') + glob.glob('sandbox/*') if not script.endswith('-OBSOLETE')],
include_package_data = True,
packages = find_packages(),
install_requires = ['bottle>=0.12.9', 'pysam==0.9.1', 'ete2>=2.3.10', 'scipy>=0.13.3', 'scikit-learn>=0.17.1', 'django>=1.9.7', 'h5py>=2.6.0', 'cherrypy>=6.0.2', 'requests>=2.10.0'],
cmdclass = {'build_ext': build_ext},
ext_modules = [
Extension('anvio.columnprofile', sources = ['./anvio/extensions/columnprofile.c']),
Extension("anvio.vbgmm", sources=["./anvio/extensions/concoct/vbgmm.pyx", "./anvio/extensions/concoct/c_vbgmm_fit.c"],
libraries =['gsl', 'gslcblas'], include_dirs=include_dirs_for_concoct),
],
author = "anvi'o Authors",
author_email = "a.murat.eren@gmail.com",
description = "An interactive analysis and visualization platform for 'omics data. See https://merenlab.org/projects/anvio for more information",
license = "GPLv3+",
keywords = "metagenomics metatranscriptomics microbiology shotgun genomics MBL pipeline sequencing bam visualization SNP SNV",
url = "https://merenlab.org/projects/anvio/",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: JavaScript',
'Programming Language :: C',
'Topic :: Scientific/Engineering',
],
)