-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (53 loc) · 1.7 KB
/
setup.py
File metadata and controls
60 lines (53 loc) · 1.7 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
55
56
57
58
59
60
from typing import Optional
import setuptools
# Get version info
__version__: Optional[str] = None
exec(open('src/pybeatsaver/version.py').read())
if __version__ is None:
raise RuntimeError("Failed to get version!")
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Requirements
requirements = []
with open("requirements.txt", "r", encoding="utf-8") as f:
requirements += f.read().splitlines()
extras_require = {
'test': [
'coverage',
'pytest',
'pytest-asyncio',
'pytest-cov'
]
}
setuptools.setup(
name="PyBeatSaver",
version=__version__,
author="LuCkEr-",
author_email="lucker@lucker.xyz",
description="Beat Saver API wrapper",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Kiyomi-Parents/PyBeatSaver",
project_urls={
"Bug Tracker": "https://github.com/Kiyomi-Parents/PyBeatSaver/issues",
},
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.8",
install_requires=requirements,
extras_require=extras_require,
)