forked from tgbugs/pyontutils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
79 lines (73 loc) · 2.45 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import re
from setuptools import setup
def find_version(filename):
_version_re = re.compile(r"__version__ = '(.*)'")
for line in open(filename):
version_match = _version_re.match(line)
if version_match:
return version_match.group(1)
__version__ = find_version('pyontutils/__init__.py')
with open('README.md', 'rt') as f:
long_description = f.read()
tests_require = ['pytest', 'pytest-runner']
setup(
name='pyontutils',
version=__version__,
description='utilities for working with the NIF ontology, SciGraph, and turtle',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/tgbugs/pyontutils',
author='Tom Gillespie',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='ontology scigraph rdflib turtle ttl OWL',
packages=['pyontutils'],
python_requires='>=3.6',
tests_require=tests_require,
install_requires=[
'appdirs',
'colorlog',
'docopt',
'gitpython',
'google-api-python-client',
'htmlfn',
'hyputils>=0.0.3',
'ipython',
'joblib',
'lxml',
'oauth2client',
'ontquery>=0.1.0',
'psutil',
'pyyaml',
'requests',
'terminaltables',
'ttlser',
'werkzeug', # for IterIO which can probably just be copied one off
],
extras_require={'dev': ['pytest-cov', 'wheel'],
'spell': ['hunspell'],
'test': tests_require,
},
#package_data
#data_files=[('resources',['pyontutils/resources/chebi-subset-ids.txt',])], # not part of distro
entry_points={
'console_scripts': [
'graphml-to-ttl=pyontutils.graphml_to_ttl:main',
'necromancy=pyontutils.necromancy:main',
'ont-catalog=pyontutils.make_catalog:main',
'ontload=pyontutils.ontload:main',
'ontutils=pyontutils.ontutils:main',
'overlaps=pyontutils.overlaps:main',
'qnamefix=pyontutils.qnamefix:main',
'scigraph-codegen=pyontutils.scigraph_codegen:main',
'scigraph-deploy=pyontutils.scigraph_deploy:main',
'scig=pyontutils.scig:main',
],
},
)