-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
62 lines (55 loc) · 1.57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import codecs
from os.path import abspath, dirname, join
from setuptools import find_packages, setup
TEST_DEPS = ["coverage[toml]", "pytest", "pytest-cov"]
DOCS_DEPS = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-autoapi",
"recommonmark",
"sphinxcontrib-runcmd",
]
CHECK_DEPS = [
"isort[colors]",
"flake8",
"flake8-quotes",
"flake8-bugbear",
"pep8-naming",
"mypy",
"black",
]
REQUIREMENTS = ["loguru", "hidapi"]
EXTRAS = {
"test": TEST_DEPS,
"docs": DOCS_DEPS,
"check": CHECK_DEPS,
"dev": TEST_DEPS + DOCS_DEPS + CHECK_DEPS,
}
# Read in the version
with open(join(dirname(abspath(__file__)), "VERSION")) as version_file:
version = version_file.read().strip()
setup(
name="pySMX",
version=version,
description="StepManiaX SDK for Python",
long_description=codecs.open("README.md", "r", "utf-8").read(),
long_description_content_type="text/markdown",
author="Fernando Chorney",
author_email="[email protected]",
url="https://github.com/fchorney/pysmx",
packages=find_packages(exclude=["tests"]),
install_requires=REQUIREMENTS,
classifiers=[
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
],
platforms=["any"],
include_package_data=True,
tests_require=TEST_DEPS,
extras_require=EXTRAS,
entry_points={"console_scripts": ["smxcli = pysmx.cli:main"]},
)