-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (42 loc) · 1.54 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
import re
from pathlib import Path
from setuptools import setup
with open("charachorder/__init__.py") as f:
match = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE)
if not match:
raise RuntimeError("version is not set")
version = match.group(1)
PROJECT_URL = "https://github.com/CharaChorder/charachorder.py"
setup(
name="charachorder.py",
version=version,
license="MIT",
description="A wrapper for CharaChorder's Serial API written in Python",
long_description=Path("readme.md").read_text(),
long_description_content_type="text/markdown",
url=PROJECT_URL,
author="GetPsyched",
author_email="[email protected]",
project_urls={
"Documentation": "https://charachorder.github.io/charachorder.py",
"Issue tracker": f"{PROJECT_URL}/issues",
},
packages=["charachorder"],
include_package_data=True,
python_requires=">=3.9.0",
install_requires=["inquirer", "pyserial"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
],
)