-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
36 lines (33 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
import re
vdir = __file__[0:__file__.rfind('/')]+'/' if __file__.rfind('/')>=0 else ''
VERSIONFILE = vdir+'pygobo/__init__.py'
with open(VERSIONFILE, 'rt') as vfile:
verstrline = vfile.read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
version_info = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setuptools.setup(
name="pygobo",
version=version_info,
author='Alex Miłowski',
author_email='[email protected]',
description='Property Graphs for Open Biological and Biomedical Ontologies',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/alexmilowski/pygobo',
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
keywords='obo ontology property graph',
python_requires='>=3.6',
install_requires=['lark-parser','redis','redisgraph']
)