-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.4 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (39 loc) · 1.4 KB
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
# setup.py
# Ethan Guthrie
# 04/29/2020
# Allows manual installation of tlnetcard_python package.
import setuptools
with open("version.txt", "r") as fh:
version = fh.read()
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
requirements = fh.readlines()
for i in range(len(requirements)):
requirements[i] = requirements[i].rstrip('\n')
setuptools.setup(
name="tlnetcard_python",
version=version,
author="Ethan Guthrie",
author_email="guthrieec@cofc.edu",
description="A Python 3 API for Tripp Lite's TLNETCARD.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/EGuthrieWasTaken/tlnetcard_python",
license="GNU GPLv3",
packages=setuptools.find_packages(),
install_requires=requirements,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Information Technology",
"Topic :: System :: Power (UPS)"
],
python_requires='>=3.5',
)