-
Notifications
You must be signed in to change notification settings - Fork 227
/
Copy pathsetup.py
41 lines (36 loc) · 1.43 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
from setuptools import find_packages, setup
import os
def parse_requirements(filename):
filename = os.path.join(os.path.dirname(__file__), filename)
with open(filename, "r") as f:
return [line.strip() for line in f if line and not line.startswith("#")]
with open("README.md", "r", encoding="utf-8", errors="ignore") as fh:
long_description = fh.read()
version = {}
with open("ai_data_science_team/_version.py", encoding="utf-8") as fp:
exec(fp.read(), version)
setup(
name="ai-data-science-team",
version=version["__version__"],
description="Build and run an AI-powered data science team.",
author="Matt Dancho",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/business-science/ai-data-science-team",
packages=find_packages(),
install_requires=parse_requirements("requirements.txt"),
extras_require={
"machine_learning": ["h2o", "mlflow"],
"data_science": ["pytimetk", "missingno", "sweetviz"],
"all": ["h2o", "mlflow", "pytimetk", "missingno","sweetviz"],
},
python_requires=">=3.9",
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)