forked from cokelaer/spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (52 loc) · 1.83 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
import os, sys, glob
pj = os.path.join
from setuptools import setup, find_packages
from distutils.core import Extension
_MAJOR = 0
_MINOR = 7
_MICRO = 6
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="cokelaer@gmail.com",
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']
},
# specific packages for testing
tests_require = open('requirements-dev.txt').read().split(),
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.6",
"Topic :: Scientific/Engineering",
]
)