-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (40 loc) · 1.17 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
setuptools script file
"""
from setuptools import setup, find_namespace_packages
setup(
name='allennlp-runmodel',
namespace_packages=[],
packages=find_namespace_packages(where='src'),
package_dir={'': 'src'},
description='Run a AllenNLP trained model, and serve it with WebAPI.',
url='https://github.com/tanbro/allennlp-runmodel',
author='liu xue yan',
author_email='[email protected]',
use_scm_version={
# guess-next-dev: automatically guesses the next development version (default)
# post-release: generates post release versions (adds postN)
'version_scheme': 'guess-next-dev',
'write_to': 'src/allennlp_runmodel/_version.py',
},
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'],
install_requires=[
'allennlp',
'aiohttp',
'click',
],
extras_require={
'toml': ['toml'],
'yaml': ['PyYAML'],
},
tests_require=[],
package_data={
},
entry_points={
'console_scripts': [
'allennlp-runmodel = allennlp_runmodel.commands.run:cli',
],
},
)