-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (66 loc) · 1.98 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
63
64
65
66
67
68
69
70
71
72
73
74
from pathlib import Path
from setuptools import setup # pyright: reportMissingTypeStubs=false
from asking import __version__
readme_path = Path(__file__).parent / "README.md"
with open(readme_path, encoding="utf-8") as f:
long_description = f.read()
classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Typing :: Typed",
]
if "a" in __version__:
classifiers.append("Development Status :: 3 - Alpha")
elif "b" in __version__:
classifiers.append("Development Status :: 4 - Beta")
else:
classifiers.append("Development Status :: 5 - Production/Stable")
classifiers.sort()
setup(
author="Cariad Eccleston",
author_email="[email protected]",
classifiers=classifiers,
description="Asking questions and getting answers",
entry_points={
"console_scripts": [
"asking=asking.__main__:entry",
],
},
include_package_data=True,
install_requires=[
"ansiscape~=1.1.2",
"ansiwrap~=0.8",
"cline~=1.1",
"pyyaml~=6.0",
],
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
name="asking",
packages=[
"asking",
"asking.actions",
"asking.loaders",
"asking.models",
"asking.prompts",
"asking.protocols",
"asking.tasks",
],
package_data={
"asking": ["py.typed"],
"asking.actions": ["py.typed"],
"asking.loaders": ["py.typed"],
"asking.models": ["py.typed"],
"asking.prompts": ["py.typed"],
"asking.protocols": ["py.typed"],
"asking.tasks": ["py.typed"],
},
python_requires=">=3.8",
url="https://github.com/cariad/asking",
version=__version__,
)