-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
executable file
·37 lines (34 loc) · 1.13 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
#!/usr/bin/env python
from distutils.core import setup
# The original author of this library is
# Ken Robertson [email protected]
# This version is a fork on github maintained by
# Andre Graf [email protected].
#
# Ken's library version number depended on
# the version number of python-bert. This is
# not suitable for an automated installation
# using pip which will automatically install
# the dependencies listed in 'install_requires'.
# For this reason I manually set the version
# number.
__version__ = '1.0.0'
setup(
name = 'ernie',
version = __version__,
description = 'BERT-Ernie Library',
author = 'Ken Robertson',
author_email = '[email protected]',
url = 'http://github.com/krobertson/python-ernie',
packages = ['ernie'],
classifiers = [
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires = ["bert>=2.0.0"],
dependency_links = [
'http://github.com/samuel/python-bert/tarball/master#egg=bert-2.0.0'
]
)