-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
38 lines (32 loc) · 978 Bytes
/
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
"""Python libshout2 interface
Based on the c-libary libshout 2 and built with Cython
"""
classifiers = """\
Development Status :: 3 - Alpha
Intended Audience :: Developers
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Multimedia :: Sound/Audio
Operating System :: OS Independent
"""
from distutils.core import setup
from distutils.extension import Extension
doclines = __doc__.split("\n")
ext_modules = [Extension(
"pylibshout", ["pylibshout.c"],
libraries = ['shout'] #.h files
)]
setup(
name = 'pylibshout',
version = '0.0.1',
author = 'Leon Bogaert',
author_email = '[email protected]',
url = 'http://github.com/LeonB/pylibshout',
platforms = ["any"],
description = doclines[0],
classifiers = filter(None, classifiers.split("\n")),
long_description = "\n".join(doclines[2:]),
#py_modules = ['pylibshout'],
ext_modules = ext_modules,
requires = ['Cython']
)