mirror of https://github.com/hpcaitech/ColossalAI
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
2 years ago
|
from setuptools import find_packages, setup
|
||
|
|
||
|
|
||
|
def fetch_requirements(path):
|
||
1 year ago
|
with open(path, "r") as fd:
|
||
2 years ago
|
return [r.strip() for r in fd.readlines()]
|
||
|
|
||
|
|
||
|
def fetch_readme():
|
||
1 year ago
|
with open("README.md", encoding="utf-8") as f:
|
||
2 years ago
|
return f.read()
|
||
|
|
||
|
|
||
|
def fetch_version():
|
||
1 year ago
|
with open("version.txt", "r") as f:
|
||
2 years ago
|
return f.read().strip()
|
||
|
|
||
|
|
||
|
setup(
|
||
1 year ago
|
name="coati",
|
||
2 years ago
|
version=fetch_version(),
|
||
1 year ago
|
packages=find_packages(
|
||
|
exclude=(
|
||
|
"tests",
|
||
|
"benchmarks",
|
||
|
"*.egg-info",
|
||
|
)
|
||
|
),
|
||
|
description="Colossal-AI Talking Intelligence",
|
||
2 years ago
|
long_description=fetch_readme(),
|
||
1 year ago
|
long_description_content_type="text/markdown",
|
||
|
license="Apache Software License 2.0",
|
||
|
url="https://github.com/hpcaitech/Coati",
|
||
|
install_requires=fetch_requirements("requirements.txt"),
|
||
8 months ago
|
python_requires=">=3.7",
|
||
2 years ago
|
classifiers=[
|
||
1 year ago
|
"Programming Language :: Python :: 3",
|
||
|
"License :: OSI Approved :: Apache Software License",
|
||
|
"Environment :: GPU :: NVIDIA CUDA",
|
||
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
||
|
"Topic :: System :: Distributed Computing",
|
||
2 years ago
|
],
|
||
|
)
|