-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
39 lines (35 loc) · 1.02 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
from turjuman.copyright import *
from setuptools import setup, find_packages
with open("README.rst", "r") as readme_file:
readme = readme_file.read()
from setuptools import setup
setup(name='turjuman',
version=version,
description=description,
long_description=readme,
url='https://github.com/UBC-NLP/turjuman',
author=author,
author_email=email,
license=license,
packages=find_packages(),
install_requires=[
'regex',
'torch',
'protobuf',
'sentencepiece',
'transformers',
'psutil',
'pandas',
'tqdm',
'sacrebleu',
'accelerate',
'datasets'
],
entry_points={
"console_scripts": [
"turjuman_translate = turjuman_cli.translate:translate_cli",
"turjuman_score = turjuman_cli.score:score_cli",
"turjuman_interactive = turjuman_cli.interactive:interactive_cli",
],
},
)