-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
136 lines (127 loc) · 4.24 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# BlueGraph: unifying Python framework for graph analytics and co-occurrence analysis.
# Copyright 2020-2021 Blue Brain Project / EPFL
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from setuptools import setup, find_packages
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="bluegraph",
author="Blue Brain Project, EPFL",
use_scm_version={
"relative_to": __file__,
"write_to": "bluegraph/version.py",
"write_to_template": "__version__ = '{version}'\n",
},
description="Knowledge Graphs analytics.",
long_description=long_description,
long_description_content_type="text/x-rst",
keywords="framework knowledge graph data science",
url="https://github.com/BlueBrain/BlueGraph",
packages=find_packages(),
python_requires=">=3.8",
setup_requires=[
"setuptools_scm",
],
install_requires=[
"numpy>=1.20.1",
"pandas>=1.3.0,<2.0",
"scikit-learn>=1.0.2",
"scipy",
"matplotlib",
"nltk",
"nexusforge@git+https://github.com/BlueBrain/nexus-forge",
"nexus-sdk",
"networkx==2.6.3", # needed to fix networkx, because the new versions are not
# consistent with the requirements of graph-tools on scipy
"python-louvain",
"pyjwt==2.4.0",
"rdflib==7.0.0",
"Werkzeug==2.0.3" # dash doesn't work with the new version of Werkzeug
],
package_data={
'cord19kg.apps': [
'assets/*',
'assets/fontawesome-5.15.1-web/',
'assets/fontawesome-5.15.1-web/css/*',
'assets/fontawesome-5.15.1-web/webfonts/*'
]
},
extras_require={
"dev": [
"tox",
"pytest",
"pytest-bdd",
"pytest-cov==2.10.1",
"pytest-mock==3.3.1",
"codecov",
"dash<=1.19.0",
"jupyter_dash==0.4.0",
"dash_bootstrap_components<=0.13.0",
"dash_daq==0.5.0",
"dash_extensions==0.0.58",
"dash_cytoscape<=0.2.0",
"ipywidgets==7.6.3",
"neo4j",
"gensim<4.0.0",
"stellargraph>=1.2.0",
"chardet>=4.0.0"
],
"docs": [
"sphinx",
"sphinx-bluebrain-theme",
"dash<=1.19.0",
"jupyter_dash==0.4.0" # a temporary solution, mocking this module fails
],
"cord19kg": [
"jupyter_dash==0.4.0",
"dash<=1.19.0",
"dash_bootstrap_components<=0.13.0",
"dash_daq==0.5.0",
"dash_extensions==0.0.58",
"dash_cytoscape<=0.2.0",
"ipywidgets==7.6.3"
],
"neo4j": [
"neo4j"
],
"stellargraph": [
"gensim<4.0.0",
"stellargraph>=1.2.0",
"chardet>=4.0.0"
],
"gensim": [
"gensim<4.0.0"
],
"all": [
"dash<=1.19.0",
"jupyter_dash==0.4.0",
"dash_bootstrap_components<=0.13.0",
"dash_daq==0.5.0",
"dash_extensions==0.0.58",
"dash_cytoscape<=0.2.0",
"ipywidgets==7.6.3",
"neo4j",
"gensim<4.0.0",
"stellargraph>=1.2.0",
"chardet>=4.0.0"
]
},
classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3 :: Only",
"Natural Language :: English",
]
)