-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
59 lines (53 loc) · 1.93 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
"""A setuptools based setup module.
See:
https://github.com/FreeTHX/pywakepsXonbt
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
from io import open
import wakepsXonbt
NAME = 'pywakepsXonbt'
DESCRIPTION = 'A Python library to wakeup PlayStation (ps3, ps4, ps5) on BlueTooth'
URL = 'https://github.com/FreeTHX/pywakepsXonbt'
AUTHOR = 'FreeTHX'
AUTHOR_EMAIL = 'freethx.dev@gmail.com'
REQUIRED = ['pyusb']
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
try:
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
except FileNotFoundError:
LONG_DESCRIPTION = DESCRIPTION
setup(
name=NAME,
version=wakepsXonbt.__version__,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license='Apache License 2.0',
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Home Automation',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords='wake playstation (ps3, ps4, ps5) on bt home assistant',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=REQUIRED,
)