forked from postlund/pyatv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (55 loc) · 1.79 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
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
# encoding: utf-8
import os
from setuptools import setup, find_packages
# Read in version without importing pyatv
# http://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3
exec(compile(open('pyatv/const.py', "rb").read(), 'pyatv/const.py', 'exec'))
# Read content of a file and return as a string
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pyatv',
version=__version__,
license='MIT',
url='https://github.com/postlund/pyatv',
author='Pierre Ståhl',
author_email='[email protected]',
description='Library for controlling an Apple TV',
long_description=read('README.rst'),
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'aiohttp>=3.0.1, <4',
'cryptography>=1.8.1',
'curve25519-donna>=1.3',
'ed25519>=1.4',
'netifaces>=0.10.0',
'protobuf>=3.4.0',
'srptools>=0.2.0',
'tlslite-ng>=0.7.0',
'zeroconf>=0.17.7'
],
test_suite='tests',
keywords=['apple', 'tv'],
setup_requires=['pytest-runner'],
tests_require=['tox', 'pytest==3.4.0'],
entry_points={
'console_scripts': [
'atvremote = pyatv.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
'Topic :: Home Automation',
],
)