-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
54 lines (46 loc) · 1.62 KB
/
setup.py
File metadata and controls
54 lines (46 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
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.3.0",
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/DashAISoftware/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="fbravo@dcc.uchile.cl",
packages=find_packages(),
include_package_data=True,
python_requires=">=3.10",
install_requires=requirements,
test_require=test_requirements,
classifiers=[
"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.runner:main",
"DashAI = DashAI.runner:main",
]
},
)