-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 2.09 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import setuptools
with open('./README.md', 'r') as readme_file:
readme = readme_file.read()
# Gather package requirements from all packages in monorepo
install_requires = []
with open('./tools/cl/runtime/package_requirements.txt') as runtime_package_requirements:
install_requires.extend(line.strip() for line in runtime_package_requirements.readlines())
with open('./tools/cl/convince/package_requirements.txt') as convince_package_requirements:
install_requires.extend(line.strip() for line in convince_package_requirements.readlines())
setuptools.setup(
name='convince',
version='0.0.2',
author='The Project Contributors',
description='Better instruction following for large language models',
license='Apache Software License',
long_description=readme,
long_description_content_type='text/markdown',
install_requires=install_requires,
url='https://github.com/compatibl/convince',
project_urls={
'Source Code': 'https://github.com/compatibl/convince',
},
packages=setuptools.find_namespace_packages(
where='.',
include=['cl.convince', 'cl.convince.*'],
exclude=['tests', 'tests.*']
),
package_dir={'': '.'},
package_data={
'': ['py.typed'],
'data': ['csv/**/*.csv', 'yaml/**/*.yaml', 'json/**/*.json'],
},
include_package_data=True,
classifiers=[
# Alpha - will attempt to avoid breaking changes but they remain possible
'Development Status :: 3 - Alpha',
# Audience and topic
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Financial and Insurance Industry',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
# License
'License :: OSI Approved :: Apache Software License',
# Runs on Python 3.10 and later releases
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
# Operating system
'Operating System :: OS Independent',
],
)