This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (53 loc) · 1.81 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
import os
from setuptools import setup
import daita
PATH_ROOT = os.path.dirname(__file__)
def load_description(path_dir=PATH_ROOT, filename="README.md"):
# Load long description from README in the directory
with open(os.path.join(path_dir, filename)) as f:
long_description = f.read()
return long_description
name = "daita"
description = "DAITA's official easy-to-use Python library."
long_description = load_description()
url = "https://github.com/daita-technologies/daita-python-library"
author = "DAITA Technologies"
author_email = "contact@daita.tech"
license = "MIT"
project_urls = {
"Homepage": "https://daita.tech",
"Web-App": "https://app.daita.tech",
"GitHub": "https://github.com/daita-technologies",
"Source": "https://github.com/daita-technologies/daita-python-library",
}
entry_points = {"console_scripts": ["daita = daita.daita:main"]}
classifiers = [
"Development Status :: 1 - Planning",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
python_requires = ">=3.8"
install_requires = ["python-dotenv", "requests", "tqdm", "urllib3==1.26.2"]
setup(
name=name,
version=daita.__version__,
description=description,
url=url,
author=author,
author_email=author_email,
license=license,
long_description=long_description,
long_description_content_type="text/markdown",
packages=["daita"],
install_requires=install_requires,
entry_points=entry_points,
classifiers=classifiers,
python_requires=python_requires,
project_urls=project_urls,
package_data={"daita": ["*", ".env"]},
)