-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (57 loc) · 1.8 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
62
63
# -*- coding: utf-8 -*-
#
# SonyAPI
# External control of Sony Bravia Generation 3 TV's
# Copyright (C) 2017 Kevin G. Schlosser
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys
import os
from setuptools import setup, find_packages
from SonyAPI.version import (
__version__,
__author__,
__author_email__,
__url__,
__download_url__,
__description__,
__requirements__,
__keywords__,
__classifiers__,
__license__
)
sys.path.insert(0, '.')
PACKAGE_DIR = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.path.join(PACKAGE_DIR, 'README.txt'), 'r') as f:
__long_description__ = f.read().encode('utf-8')
setup(
name='SonyAPI',
version=__version__,
description=__description__,
long_description=__long_description__,
install_requires=__requirements__,
maintainer=__author__,
author=__author__,
author_email=__author_email__,
zip_safe=True,
packages=find_packages(),
include_package_data=True,
url=__url__,
download_url=__download_url__,
keywords=__keywords__,
classifiers=__classifiers__,
license=__license__,
)