-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 685 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 685 Bytes
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
#!/usr/bin/env python
""" Setup mp3 decoder """
from setuptools import setup, Extension
interlace_module = Extension(
"pymp3decoder._pymp3_c",
sources=[
"pymp3decoder/swig_interface.i",
],
libraries = ['mp3lame'],
)
setup(
name="pymp3decoder",
version="0.0.1",
author="Michael Boulton",
license="MIT",
keywords="mp3 decoder",
author_email="michael.boulton@gmail.com",
description="Simple chunked mp3 decoder",
use_2to3=True,
ext_modules=[interlace_module],
py_modules=["pymp3_c"],
packages=["pymp3decoder"],
test_suite="tests",
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pyaudio'],
)