-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (52 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
from distutils.core import setup, Extension
from Cython.Build import cythonize
import numpy
#from setuptools import setup, find_packages
import re, os
def find_packages(path='.'):
ret = []
for root, dirs, files in os.walk(path):
if '__init__.py' in files:
ret.append(re.sub('^[^A-z0-9_]+', '', root.replace('/', '.')))
return ret
install_requires = [
'numpy>=1.9',
'scipy>=0.16',
'h5py>=2.5',
'alabtools>=0.0.1',
'tqdm', 'tornado','pyyaml',
'cloudpickle',
'cython',
#'pyqt',
]
tests_require = [
'mock'
]
extras_require = {
'docs': [
'Sphinx>=1.1',
]
}
extensions = [
#Extension("igm.cython_compiled.sprite",
# ["igm/cython_compiled/sprite.pyx", "igm/cython_compiled/cpp_sprite_assignment.cpp"]),
]
extensions = cythonize(extensions)
setup(
name = 'igm',
version = '1.0.2',
author = 'Guido Polles, Nan Hua',
author_email = '[email protected] [email protected]',
url = 'https://github.com/alberlab/igm-dev',
description = 'Integrated Genome Modeling',
packages=find_packages('./igm/'),
package_data={'' : ['core/defaults/*']},
include_package_data=True,
install_requires=install_requires,
tests_require=tests_require,
extras_require=extras_require,
ext_modules=extensions,
include_dirs=[numpy.get_include()],
scripts=['bin/igm-view'],
)