-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
56 lines (48 loc) · 1.69 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
import os
from setuptools import find_packages, setup
with open("README.rst") as f:
long_description = f.read()
def load_requirements(filename):
"""Load requirements from a file, ignoring comments and empty lines."""
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return [line.strip() for line in f if line.strip() and not line.startswith("#")]
# Use your existing requirements files
requirements = load_requirements("requirements.txt")
test_requirements = load_requirements("requirements-dev.txt")
setup(
name="DashAI",
version="0.1.1",
license="MIT",
description=(
"DashAI: a graphical toolbox for training, evaluating and deploying "
"state-of-the-art AI models."
),
long_description=long_description,
url="https://github.com/OpenCENIA/DashAI",
project_urls={
"Documentation": "https://dash-ai.com/",
"Changelog": "https://dash-ai.com/changelog.html",
"Issue Tracker": "https://github.com/DashAISoftware/DashAI/issues",
},
author="DashAI Team",
author_email="[email protected]",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.8",
install_requires=requirements,
test_require=test_requirements,
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points={
"console_scripts": [
"dashai = DashAI:run",
"DashAI = DashAI:run",
]
},
)