-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (36 loc) · 1.1 KB
/
setup.py
File metadata and controls
41 lines (36 loc) · 1.1 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
from setuptools import setup
import os
about = {}
with open("minds_cli/__about__.py") as fp:
exec(fp.read(), about)
def get_long_description():
with open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name=about['__package_name__'],
description=about['__description__'],
long_description=get_long_description(),
download_url=about['__pypi__'],
keywords="minds mindsdb ai",
long_description_content_type="text/markdown",
author=about['__author__'],
url=about['__github__'],
project_urls={
"Issues": about['__github__'] + "/issues",
"CI": about['__github__'] + "/actions",
"Changelog": about['__github__'] + "/releases",
},
license="Apache License, Version 2.0",
version=about['__version__'],
packages=["minds_cli"],
entry_points="""
[console_scripts]
minds=minds_cli.cli:main
""",
install_requires=["click", "minds-sdk"],
extras_require={"test": ["pytest", "pytest-mock"]},
python_requires=">=3.7",
)