forked from morriswmz/doatools.py
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (44 loc) · 1.46 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
from setuptools import setup, find_packages
import string
# Load description
def find_long_description():
with open('README.md', 'r') as f:
return f.read()
# Read the version string
def find_version():
version_var_name = '__version__'
with open('doatools/_version.py', 'r') as f:
for l in f:
if not l.startswith(version_var_name):
continue
return l[len(version_var_name):].strip(string.whitespace + '\'"=')
raise RuntimeError('Unable to read version string.')
setup(
name='doatools',
version=find_version(),
description='A collection of tools for DOA estimation related research.',
long_description=find_long_description(),
long_description_content_type="text/markdown",
url='https://github.com/morriswmz/doatools.py',
author='Mianzhi Wang',
# author_email='',
packages=find_packages(exclude=('docs',)),
python_requires='>=3.5',
install_requires=[
'numpy>=1.14.0',
'scipy>=1.1.0',
'matplotlib>=2.1.0',
'cvxpy>=1.0.8'
],
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
]
)