-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathsetup.py
43 lines (33 loc) · 1.18 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
from setuptools import setup
import os
import codecs
here = os.path.abspath(os.path.dirname(__file__))
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return codecs.open(fpath(fname), encoding='utf-8').read()
requirements = read(fpath('requirements.txt'))
with open("README.md", "r") as fh:
long_description = fh.read()
about = {}
with codecs.open(os.path.join(here, 'src', 'sk_dsp_comm', '__version__.py'), encoding='utf-8') as f:
exec(f.read(), about)
setup(name='scikit-dsp-comm',
version=about['__version__'],
description='DSP and Comm package.',
long_description=long_description,
long_description_content_type="text/markdown",
author='Mark Wickert',
author_email='[email protected]',
url='https://github.com/mwickert/scikit-dsp-comm',
package_data={'sk_dsp_comm': ['ca1thru37.txt']},
include_package_data=True,
license='BSD',
install_requires=requirements.split(),
test_suite='pytest',
tests_require=['pytest','numpy', 'tox'],
extras_require={
'helpers': ['colorama', 'pyaudio', 'ipywidgets']
},
python_requires = '>=3.7',
)