-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
30 lines (29 loc) · 1.03 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
from setuptools import setup, find_packages
from transformers_cfg import __version__
setup(
name="transformers_cfg",
version=__version__,
author="EPFL-dlab",
author_email="[email protected]",
description="Extension of Transformers library for Context-Free Grammar Constrained Decoding with EBNF grammars",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/epfl-dlab/transformers-CFG",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=open("requirements.txt").read().splitlines(),
package_data={
"transformers_cfg": ["examples/grammars/*.ebnf"],
},
include_package_data=True,
# Add any additional package configuration here
entry_points={
"console_scripts": [
"transformers-cfg-cli=transformers_cfg.cli.cli_main:main",
],
},
)