forked from Chris7/pyquant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
56 lines (48 loc) · 1.45 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
from __future__ import print_function
import os
# These exceptions are for building pyquant on lambdas, which parse
# the setup.py file. Sane builders will never hit this
include_dirs = []
try:
import numpy
include_dirs.append(numpy.get_include())
except ImportError:
pass
from setuptools import (
Extension,
setup,
find_packages,
) # noqa: E402
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
extensions = [Extension(name="pyquant.cpeaks", sources=["pyquant/cpeaks.pyx"])]
setup(
name="pyquant",
version="0.4.1",
packages=find_packages(),
scripts=["scripts/pyQuant"],
entry_points={"console_scripts": ["pyQuant = pyquant.command_line:run_pyquant",]},
install_requires=[
"cython",
"numpy",
"scipy >= 0.18.*",
"patsy",
"pythomics >= 0.3.41",
"pandas >= 0.24.0",
"lxml",
"scikit-learn",
"simplejson",
],
include_package_data=True,
description="A framework for the analysis of quantitative mass spectrometry data",
url="http://www.github.com/chris7/pyquant",
author="Chris Mitchell <chris.mit7@gmail.com>",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
setup_requires=["cython", "numpy"],
ext_modules=extensions,
include_dirs=include_dirs,
)