forked from Andre0512/pyhOn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
46 lines (41 loc) · 1.35 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
#!/usr/bin/env python3
from setuptools import find_packages, setup
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
with open("requirements.txt", encoding="utf-8") as f:
install_requires = f.read().splitlines()
with open("pyhon/__version__.py", encoding="utf-8") as f:
_, _, version = f.read().partition("=")
version = version.strip().strip("'\"")
setup(
name="pyhOn",
version=version,
author="Kuba Sawulski",
description="Control hOn devices with python",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"GitHub": "https://github.com/IoTLabs-pl/pyhOn",
},
license="MIT",
platforms="any",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.11",
install_requires=install_requires,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
"console_scripts": [
"pyhOn = pyhon.__main__:start",
]
},
)