"tests/test_ops/test_op.py" did not exist on "425b4a96b86173c722811e0047a275618f50bf2a"
setup.py 1.13 KB
Newer Older
ver217's avatar
ver217 committed
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
from setuptools import find_packages, setup


def fetch_requirements(path):
    with open(path, 'r') as fd:
        return [r.strip() for r in fd.readlines()]


def fetch_readme():
    with open('README.md', encoding='utf-8') as f:
        return f.read()


def fetch_version():
    with open('version.txt', 'r') as f:
        return f.read().strip()


setup(
    name='chatgpt',
    version=fetch_version(),
    packages=find_packages(exclude=(
        'tests',
        'benchmarks',
        '*.egg-info',
    )),
    description='A RLFH implementation (ChatGPT) powered by ColossalAI',
    long_description=fetch_readme(),
    long_description_content_type='text/markdown',
    license='Apache Software License 2.0',
    url='https://github.com/hpcaitech/ChatGPT',
32
    install_requires=fetch_requirements('requirements.txt'),
ver217's avatar
ver217 committed
33
34
35
36
37
38
39
40
41
    python_requires='>=3.6',
    classifiers=[
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: Apache Software License',
        'Environment :: GPU :: NVIDIA CUDA',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
        'Topic :: System :: Distributed Computing',
    ],
)