forked from andrewcsmith/pippi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (72 loc) · 2.61 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy as np
ext_modules = cythonize([
Extension('pippi.defaults', ['pippi/defaults.pyx']),
Extension('pippi.dsp', ['pippi/dsp.pyx']),
Extension('pippi.fx', ['pippi/fx.pyx'],
libraries=['soundpipe'],
library_dirs=['/usr/local/lib'],
include_dirs=['/usr/local/include']
),
Extension('pippi.grains', ['pippi/grains.pyx'],
libraries=['soundpipe'],
library_dirs=['/usr/local/lib'],
include_dirs=['/usr/local/include']
),
Extension('pippi.graph', ['pippi/graph.pyx']),
Extension('pippi.interpolation', ['pippi/interpolation.pyx']),
Extension('pippi.oscs', ['pippi/oscs.pyx']),
Extension('pippi.soundbuffer', ['pippi/soundbuffer.pyx']),
Extension('pippi.soundpipe', ['pippi/soundpipe.pyx'],
libraries=['soundpipe'],
library_dirs=['/usr/local/lib'],
include_dirs=['/usr/local/include']
),
Extension('pippi.wavetables', ['pippi/wavetables.pyx'],
include_dirs=[np.get_include()],
),
],
annotate=True
)
with open('README.md') as f:
readme = f.read()
setup(
name='pippi',
version='2.0.0-beta-4',
description='Computer music with Python',
long_description=readme,
long_description_content_type='text/markdown',
author='He Can Jog',
author_email='erik@hecanjog.com',
url='https://github.com/hecanjog/pippi',
packages=['pippi', 'pippi.tune'],
ext_modules=ext_modules,
install_requires=[
'numpy',
'Pillow',
'PySoundFile'
],
keywords='algorithmic computer music',
python_requires='>=3',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Other Audience', # Musicians and audio tinkerers, and of course anyone else...
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS',
'Programming Language :: Cython',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Topic :: Artistic Software',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis',
]
)