-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (33 loc) · 1.19 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
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file.
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
import unittest
def my_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('grobid_quantities/tests', pattern='test_*.py')
return test_suite
setup(
name='grobid-quantities-client',
version='0.4.0',
description='A minimal client for grobid-quantities service.',
long_description=long_description,
url='https://github.com/lfoppiano/grobid-quantitites-python-client',
author='Luca Foppiano',
author_email='FOPPIANO.Luca@nims.go.jp',
license='Apache 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
],
keywords=['measurements', 'text mining', 'tdm', 'grobid'],
install_requires=['requests', 'zenlog'],
packages=['grobid_quantities'],
zip_safe=False,
test_suite='setup.my_test_suite'
)