forked from BlueBrain/nexus-forge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
76 lines (71 loc) · 2.46 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
#
# Blue Brain Nexus Forge is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Blue Brain Nexus Forge is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Blue Brain Nexus Forge. If not, see <https://choosealicense.com/licenses/lgpl-3.0/>.
import os
from setuptools import find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file.
with open(os.path.join(HERE, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="nexusforge",
author="Blue Brain Project, EPFL",
use_scm_version={
"write_to": "kgforge/version.py",
"write_to_template": "__version__ = '{version}'\n",
},
description="Building and Using Knowledge Graphs made easy.",
long_description=long_description,
long_description_content_type="text/x-rst",
keywords="framework knowledge graph data science",
url="https://github.com/BlueBrain/nexus-forge",
packages=find_packages(),
python_requires=">=3.8",
setup_requires=[
"setuptools_scm",
],
install_requires=[
"hjson",
"pyyaml",
"pandas",
"nexus-sdk",
"aiohttp",
"rdflib==6.2.0",
"pyLD",
"pyshacl==v0.17.2",
"nest-asyncio>=1.5.1",
"pyparsing>=2.0.2",
"owlrl>=5.2.3",
"elasticsearch_dsl==7.4.0"
],
extras_require={
"dev": [
"tox",
"pytest",
"pytest-bdd==3.4.0",
"pytest-cov",
"pytest-mock",
],
"docs": ["sphinx", "sphinx-bluebrain-theme"],
"linking_sklearn": ["scikit-learn"],
},
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3 :: Only",
"Natural Language :: English",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
],
)