-
Notifications
You must be signed in to change notification settings - Fork 90
/
setup.py
78 lines (70 loc) · 2 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import glob
import os
import sys
pj = os.path.join
from distutils.core import Extension
from setuptools import find_packages, setup
_MAJOR = 0
_MINOR = 9
_MICRO = 0
version = "%d.%d.%d" % (_MAJOR, _MINOR, _MICRO)
release = "%d.%d" % (_MAJOR, _MINOR)
with open("README.rst") as f:
readme = f.read()
setup(
name="spectrum",
version=version,
description="Spectrum Analysis Tools",
long_description=readme,
author="Thomas Cokelaer",
author_email="[email protected]",
url="http://github.com/cokelaer/spectrum",
license="new BSD",
ext_modules=[
Extension(
"spectrum.mydpss",
[
"src/cpp/mydpss.c",
],
export_symbols=["multitap"],
)
],
packages=find_packages("src"),
package_dir={"": "src"},
# Dependencies
install_requires=open("requirements.txt").read(),
extras_require={
"plot": ["matplotlib"],
"testing": [
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-mock",
"pytest-timeout",
"pytest-runner",
"coveralls",
],
"doc": ["sphinx", "sphinx_rtd_theme"],
},
package_data={
"spectrum.data": ["*"],
},
platforms=["Linux"],
classifiers=[
"Development Status :: 1 - Planning",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
],
)