-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (24 loc) · 910 Bytes
/
setup.py
File metadata and controls
27 lines (24 loc) · 910 Bytes
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
import setuptools
import json
with open('package_info.json') as f:
package_info = json.load(f)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name=package_info["name"],
version=package_info["version"],
author=package_info["author"],
author_email="%s@uncommonmodels.com" % package_info["name"],
description="An easy to use Python implementation of OpenLCB (LCC) protocols, designed to interface with both CAN and TCP/IP",
long_description=long_description,
long_description_content_type="text/markdown",
url=package_info["url"],
packages=setuptools.find_packages(),
install_requires=package_info["dependencies"],
python_requires='>3.10.8',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)