forked from verdigris/splat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (50 loc) · 2.06 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
import sys
import os.path
try:
import setuptools
except ImportError:
import distutils.core as setuptools
from setuptools import setup, Extension
# The manual needs to be generated with Sphinx but is only required when
# running the sdist command.
if os.path.exists('Splat.pdf'):
data_files = [('.', ['Splat.pdf',]),]
elif len(sys.argv) > 1 and sys.argv[1] == 'sdist':
raise Exception('Splat.pdf is missing')
else:
data_files = []
setup(name='verdigris.mu-splat', version='1.6',
description="Sound generator, synthesizer and editor",
author="Guillaume Tucker",
author_email="guillaume@mangoz.org",
url="https://github.com/verdigris/splat",
py_modules=['test', 'example', 'dew_drop'],
ext_modules=[Extension('_splat',
sources=['_splat.c', 'signal.c', 'spline.c',
'frag.c', 'source.c', 'filter.c',
'sine_table.c'],
depends=['_splat.h'])],
packages=['splat', 'splat.tools'],
scripts=['tools/splat'],
data_files=data_files,
long_description=open('README.rst', 'rb').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Editors',
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
])