forked from balcsida/LGWebOSRemote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.33 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
"""
Publish a new version:
$ git tag X.Y.Z -m "Release X.Y.Z"
$ git push --tags
$ pip install --upgrade twine wheel
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
"""
import codecs
from setuptools import setup
LGTV_VERSION = '0.1.2'
LGTV_DOWNLOAD_URL = (
'https://github.com/klattimer/LGWebOSRemote/tarball/' + LGTV_VERSION
)
def read_file(filename):
"""
Read a utf8 encoded text file and return its contents.
"""
with codecs.open(filename, 'r', 'utf8') as f:
return f.read()
setup(
name='LGTV',
packages=['LGTV'],
version=LGTV_VERSION,
description='LG WebOS TV Controller.',
long_description=read_file('README.md'),
license='MIT',
author='Karl Lattimer',
author_email='[email protected]',
url='https://github.com/klattimer/LGWebOSRemote',
download_url=LGTV_DOWNLOAD_URL,
keywords=[
'smarthome', 'smarttv', 'lg', 'tv', 'webos', 'remote'
],
dependency_links=['https://github.com/Lawouach/WebSocket-for-Python.git#egg=ws4py-0.4.3dev0'],
install_requires=[
'wakeonlan',
'ws4py'
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Natural Language :: English',
],
)