forked from awslabs/mlm-scoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (31 loc) · 756 Bytes
/
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
#!/usr/bin/env python3
from setuptools import find_packages, setup
setup(
name='mlm',
version='0.1',
description="Masked Language Model Scoring",
author='Julian Salazar',
packages=find_packages('src'),
package_dir={'': 'src'},
entry_points = {
'console_scripts': ['mlm=mlm.cmds:main'],
},
install_requires=[
'gluonnlp~=0.8.3',
'regex',
'sacrebleu',
'mosestokenizer',
'transformers~=3.3.1'
],
extras_require={
'dev': [
'pylint',
'pytest',
'pytest-cov',
'mypy'
]
},
# Needed for static type checking
# https://mypy.readthedocs.io/en/latest/installed_packages.html
zip_safe=False
)