-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathsetup.py
37 lines (33 loc) · 1.14 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt', 'r', encoding='utf-8') as f:
requirements = f.read().split('\n')
setuptools.setup(
name="hcgf",
version="0.4.2",
author="Yam",
author_email="[email protected]",
description="Humanable Chat Generative-model Fine-tuning.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/hscspring/hcgf",
include_package_data=True,
# default is `setup.py` path, so do not need a `package_dir` attr
# if another dir, should be declared by `package_dir`
packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=requirements,
entry_points={
"console_scripts": [
"hcgf_tune = hcgf.__main_tune__:main",
"hcgf_infer = hcgf.__main_infer__:main",
]
},
package_data={
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)