forked from rsnodgrass/pyadtpulse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (32 loc) · 1.05 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
#!/usr/bin/env python
import os
import sys
import setuptools
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
name="pyadtpulse",
version="1.0.0",
packages=["pyadtpulse"],
description="Python interface for ADT Pulse security systems",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rsnodgrass/pyadtpulse",
author="",
author_email="",
license="Apache Software License",
install_requires=["requests>=2.0"],
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",
],
)