-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·57 lines (48 loc) · 1.62 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·57 lines (48 loc) · 1.62 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
"""This module configures the setup details for the Math CLI API Kit
package.
For more information about this package and its usage, please refer to
the README.md file or the official GitHub repository:
https://github.com/gasparyanvazgen/math-cli-api-kit
"""
from typing import Literal
from setuptools import setup, find_packages
from math_cli_api_kit.config import APIConfig, GITHUB_REPO_URL
__version__: Literal["Module version"]
__author__: Literal["Author full name"]
api_config = APIConfig()
__version__ = api_config.API_VERSION
__author__ = api_config.API_CONTACT_NAME
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="math-cli-api-kit",
version=__version__,
description=api_config.API_DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
author=__author__,
author_email=api_config.API_CONTACT_EMAIL,
url=GITHUB_REPO_URL,
license=api_config.API_LICENSE_NAME,
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development",
"Topic :: Utilities",
"Framework :: Sanic",
"Framework :: Sanic-OpenAPI",
"Natural Language :: English",
],
python_requires=">=3.8",
install_requires=[
"click==8.1.2",
"sanic==21.12.0",
"sanic-openapi==21.12.0",
"websockets==10.0",
],
zip_safe=False
)