This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (48 loc) · 1.45 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
from setuptools import setup
import re
extra_requires = {
"docs": [
"sphinx==4.4.0",
"sphinxcontrib_trio==1.1.2",
"sphinxcontrib-websupport",
"typing-extensions",
],
}
version = ""
with open("./pymyku/__init__.py") as f:
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE
)
if version:
version = version.group(1)
else:
raise RuntimeError("Unable to find version string.")
setup(
name="pymyku",
version=version,
description="Python MyKU API Wrapper",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
project_urls={
"Documentation": "https://pymyku.readthedocs.io",
},
author="lazykern",
author_email="[email protected]",
packages=["pymyku"],
license_file="LICENSE.md",
extras_require=extra_requires,
url="https://github.com/lazykern/pymyku",
install_requires=["requests", "PyCryptodome"],
python_requires=">=3.6",
classifiers=[
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)