-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
52 lines (44 loc) · 1.82 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
from setuptools import setup, find_packages
import os
import codecs
from os.path import join
project_root = os.path.dirname(os.path.abspath(__file__))
version = {}
REQUIRED_EXTRAS = {}
with open(join(project_root, 'pya/version.py')) as read_file:
exec(read_file.read(), version)
with open(join(project_root, 'requirements.txt')) as read_file:
REQUIRED = read_file.read().splitlines()
with open(join(project_root, 'requirements_remote.txt')) as read_file:
REQUIRED_EXTRAS['remote'] = read_file.read().splitlines()
with open(join(project_root, 'requirements_pyaudio.txt')) as read_file:
REQUIRED_EXTRAS['pyaudio'] = read_file.read().splitlines()
with open(join(project_root, 'requirements_test.txt')) as read_file:
REQUIRED_TEST = read_file.read().splitlines()
with codecs.open(join(project_root, 'README.md'), 'r', 'utf-8') as f:
long_description = ''.join(f.readlines())
setup(
name='pya',
version=version['__version__'],
description='Python audio coding classes - for dsp and sonification',
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
packages=find_packages(exclude=["tests"]),
install_requires=REQUIRED,
extras_require=REQUIRED_EXTRAS,
tests_require=REQUIRED_TEST,
author='Thomas Hermann',
author_email='[email protected]',
keywords=['sonification, sound synthesis'],
url='https://github.com/interactive-sonification/pya',
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis"
],
)