-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (53 loc) · 1.47 KB
/
setup.py
File metadata and controls
60 lines (53 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import sys
from codecs import open
from setuptools import setup
cffi_modules = [
'src/groove/_build.py:ffi_groove',
]
packages = [
'groove',
]
requires = [
'cffi>=1.0.0',
'decorator>=4.0'
]
if sys.version_info < (3, 4):
requires += [
'enum34'
]
with open('src/groove/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='groove',
version=version,
description='Python music backend',
author='kalhartt',
author_email='kalhartt@gmail.com',
url='https://github.com/kalhartt/python-groove',
license='MIT',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'': 'src'},
include_package_data=True,
setup_requires=['cffi>=1.4.0'],
cffi_modules=cffi_modules,
install_requires=requires,
zip_safe=False,
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Multimedia :: Sound/Audio',
),
)