-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
52 lines (41 loc) · 1.31 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
from __future__ import unicode_literals
import os
import sys
from setuptools import find_packages, setup
def setup_package():
src_path = os.path.dirname(os.path.abspath(sys.argv[0]))
old_path = os.getcwd()
os.chdir(src_path)
sys.path.insert(0, src_path)
setup_requires = ['']
install_requires = [ 'numpy>=1.10', 'scipy>=0.17','h5py>=2.5', "pandas>=0.15",
'matplotlib>=1.5', 'scikit-learn>=0.18.1', 'brewer2mpl>=1.3']
tests_require = install_requires
metadata = dict(
name='slalom',
version='1.0.0.dev11',
maintainer="slalom Developers",
maintainer_email="fbuettner.phys@gmail.com",
license="Apache 2.0",
url='http://bioFAM.github.io/slalom/',
packages=find_packages(),
zip_safe=True,
install_requires=install_requires,
setup_requires=setup_requires,
tests_require=tests_require,
include_package_data=True)
try:
from distutils.command.bdist_conda import CondaDistribution
except ImportError:
pass
else:
metadata['distclass'] = CondaDistribution
metadata['conda_buildnum'] = 1
metadata['conda_features'] = ['mkl']
try:
setup(**metadata)
finally:
del sys.path[0]
os.chdir(old_path)
if __name__ == '__main__':
setup_package()