-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
47 lines (40 loc) · 1.21 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
#!/usr/bin/env python
import sys
from os import path, system
from pathlib import Path
import setuptools
from pyadtpulse.const import __version__
if sys.argv[-1] == "publish":
system("python setup.py sdist upload")
sys.exit()
this_directory = path.abspath(path.dirname(__file__))
long_description = Path(
path.join(this_directory, "README.md"), encoding="utf-8"
).read_text()
setuptools.setup(
name="pyadtpulse",
version=__version__,
packages=["pyadtpulse"],
description="Python interface for ADT Pulse security systems",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rlippmann/pyadtpulse",
author="",
author_email="",
license="Apache Software License",
install_requires=[
"aiohttp>=3.8.5",
"uvloop>=0.17.0",
"lxml>=5.1.0",
"typeguard>=2.13.3",
"yarl>=1.8.2",
"aiohttp-zlib-ng>=0.1.1",
],
keywords=["security system", "adt", "home automation", "security alarm"],
zip_safe=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)