-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (47 loc) · 1.93 KB
/
setup.py
File metadata and controls
54 lines (47 loc) · 1.93 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
43
44
45
46
47
48
49
50
51
52
53
54
import json
import os.path
from setuptools import find_packages, setup
dirname = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(dirname, "README.md")) as f:
long_description = f.read()
with open(os.path.join(dirname, "options.json")) as f:
options = json.load(f)
with open(os.path.join(dirname, "requirements.txt")) as f:
install_requires = f.readlines()
with open(os.path.join(dirname, "test-requirements.txt")) as f:
test_requires = f.readlines()
with open(os.path.join(dirname, "release-requirements.txt")) as f:
release_requires = f.readlines()
setup(name=options["projectName"],
version=options["packageVersion"],
description="SensorPush Public API",
long_description=long_description,
long_description_content_type="text/markdown",
author="Steven Stallion",
author_email="sstallion@gmail.com",
url="https://github.com/sstallion/sensorpush-api",
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
license="BSD-2-Clause",
keywords="sensorpush swagger",
install_requires=install_requires,
extras_require={
"test": test_requires,
"release": release_requires
})