-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
59 lines (51 loc) · 1.9 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
from setuptools import setup, find_packages
from distutils.extension import Extension
min_numpy_version = (1, 9, 0)
try:
import numpy
except ImportError:
print "need at least numpy %d.%d.%d" % min_numpy_version
else:
vtuple = tuple(map(int, numpy.__version__.split(".")))
msg = "need at least numpy %s, found %s" % (min_numpy_version, vtuple)
assert vtuple >= min_numpy_version, msg
######################################################################
version = (0, 22, 0) # NEVER FORGET TO UPDATE version.py AS WELL !!!
######################################################################
ext_modules = [Extension("pyprophet._optimized", ["pyprophet/_optimized.c"])]
setup(name='pyprophet',
version="%d.%d.%d" % version,
author="Uwe Schmitt",
author_email="[email protected]",
description="Python reimplementation of mProphet peak scoring",
license="BSD",
url="http://github.com/uweschmitt/pyprophet",
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
include_dirs=[numpy.get_include()],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
],
zip_safe=False,
install_requires=[
"numpy >= %d.%d.%d" % min_numpy_version,
"pandas >= 0.17",
"scipy >= 0.9.0",
"numexpr >= 2.1",
"scikit-learn >= 0.17",
"matplotlib",
"seaborn"
],
entry_points={
'console_scripts': [
"pyprophet=pyprophet.main:main",
]
},
ext_modules=ext_modules,
)