2023-03-28 12:25:36 +00:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_requirements(path):
|
2023-09-19 06:20:26 +00:00
|
|
|
with open(path, "r") as fd:
|
2023-03-28 12:25:36 +00:00
|
|
|
return [r.strip() for r in fd.readlines()]
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_readme():
|
2023-09-19 06:20:26 +00:00
|
|
|
with open("README.md", encoding="utf-8") as f:
|
2023-03-28 12:25:36 +00:00
|
|
|
return f.read()
|
|
|
|
|
|
|
|
|
|
|
|
def fetch_version():
|
2023-09-19 06:20:26 +00:00
|
|
|
with open("version.txt", "r") as f:
|
2023-03-28 12:25:36 +00:00
|
|
|
return f.read().strip()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
2023-09-19 06:20:26 +00:00
|
|
|
name="coati",
|
2023-03-28 12:25:36 +00:00
|
|
|
version=fetch_version(),
|
2023-09-19 06:20:26 +00:00
|
|
|
packages=find_packages(
|
|
|
|
exclude=(
|
|
|
|
"tests",
|
|
|
|
"benchmarks",
|
|
|
|
"*.egg-info",
|
|
|
|
)
|
|
|
|
),
|
|
|
|
description="Colossal-AI Talking Intelligence",
|
2023-03-28 12:25:36 +00:00
|
|
|
long_description=fetch_readme(),
|
2023-09-19 06:20:26 +00:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
license="Apache Software License 2.0",
|
|
|
|
url="https://github.com/hpcaitech/Coati",
|
|
|
|
install_requires=fetch_requirements("requirements.txt"),
|
|
|
|
python_requires=">=3.6",
|
2023-03-28 12:25:36 +00:00
|
|
|
classifiers=[
|
2023-09-19 06:20:26 +00:00
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Environment :: GPU :: NVIDIA CUDA",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
"Topic :: System :: Distributed Computing",
|
2023-03-28 12:25:36 +00:00
|
|
|
],
|
|
|
|
)
|