-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (39 loc) · 1.1 KB
/
setup.py
File metadata and controls
43 lines (39 loc) · 1.1 KB
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
has_setuptools = False
try:
from setuptools import setup, Extension
has_setuptools = True
except ImportError:
from distutils.core import setup, Extension
import sys
import os
import string
import time
version = '0.1.1'
kwargs = dict()
if has_setuptools:
kwargs = dict(
include_package_data = True,
install_requires = ['setuptools'],
zip_safe = False)
setup(
name = 'jackpatch',
version = version,
description = 'JACK MIDI and patchbay bindings for Python',
author = 'Jesse Crossen',
author_email = 'jesse.crossen@gmail.com',
url = 'http://github.com/jessecrossen/impulse/jackpatch',
license = 'WTFPL',
ext_modules = [
Extension('jackpatch',
[ 'jackpatch.c' ],
libraries=['jack'],
include_dirs=['/usr/local/include/'])
],
data_files = [ ( 'share/jack-'+version, [ ] ) ],
platforms = ['linux', 'freebsd'],
long_description='''jackpatch provides Python bindings for the MIDI and patchbay functionality of the JACK audio connection kit.''',
classifiers=[ "Development Status :: 3 - Alpha",
"Topic :: Multimedia :: Sound/Audio :: MIDI" ],
package_dir = {'': '.',},
**kwargs
)