forked from CharlesBlonde/libsoundtouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 1.44 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import os
PACKAGES = find_packages(exclude=['tests', 'tests.*'])
def gen_data_files(*dirs):
results = []
for src_dir in dirs:
for root,dirs,files in os.walk(src_dir):
results.append((root, map(lambda f:root + "/" + f, files)))
return results
REQUIRES = [
'requests>=2,<3',
'enum-compat>=0.0.2',
'websocket-client>=0.40.0',
'zeroconf>=0.19.1'
]
PROJECT_CLASSIFIERS = [
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries'
]
setup(
name="libsoundtouch",
version="0.8.1",
license="Apache License 2.0",
url="http://libsoundtouch.readthedocs.io",
download_url="https://github.com/CharlesBlonde/libsoundtouch",
author="Charles Blonde",
author_email="[email protected]",
description="Bose Soundtouch Python library",
packages=PACKAGES,
data_files = gen_data_files("libsoundtouch/templates"),
include_package_data=True,
zip_safe=True,
platforms='any',
install_requires=REQUIRES,
test_suite='tests',
keywords=['bose', 'soundtouch'],
classifiers=PROJECT_CLASSIFIERS,
)