-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
33 lines (30 loc) · 1.17 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
from setuptools import setup, find_packages
import re
with open('README.md') as f:
readme = f.read()
# extract version
with open('slab/__init__.py') as file:
for line in file.readlines():
m = re.match("__version__ *= *['\"](.*)['\"]", line)
if m:
version = m.group(1)
setup(name='slab',
version=version,
description='Tools for generating and manipulating digital signals, particularly sounds.',
long_description=readme,
long_description_content_type='text/markdown',
url='http://github.com/DrMarc/slab.git',
author='Marc Schoenwiesner',
author_email='[email protected]',
license='MIT',
python_requires='>=3.6',
install_requires=['numpy', 'scipy', 'SoundFile', 'SoundDevice',
"matplotlib < 3.4; python_version == '3.6'",
"matplotlib; python_version >= '3.7'"],
extras_require={'testing': ['pytest', 'h5netcdf'],
'docs': ['sphinx', 'sphinx-rtd-theme'],
'hrtf': ['h5netcdf']},
packages=find_packages(),
package_data={'slab': ['data/mit_kemar_normal_pinna.bz2']},
include_package_data=True,
zip_safe=False)