-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (35 loc) · 1.29 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
import io
import re
from setuptools import find_packages, setup
with open("README.md", "r") as f:
long_description = f.read()
# source: https://stackoverflow.com/a/39671214/1933315
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open("alph/__version__.py", encoding="utf_8_sig").read(),
).group(1)
setup(
version=__version__,
name="alph",
description="alph",
author="Uros Rapajic",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/connectedcompany/alph",
license_files=["LICENSE"],
install_requires=[
"altair>=4.1.0",
"jsonschema<4.17", # TEMPORARY - until fix for this is merged into altair: https://github.com/altair-viz/altair/issues/2705, either via 5.0 or via intermediate release - https://github.com/altair-viz/altair/pull/2827
"networkx>=2.6.3",
"pandas<1.5.0", # 1.5.0 causes ValueError: columns cannot be a set when plotting altair facets
"scikit-network>=0.27.1",
# "cython fa2 @ git+https://github.com/connectedcompany/forceatlas2.git",
],
extras_require={
"graphviz": [
"pygraphviz>=1.10",
],
},
python_requires=">=3.8",
packages=find_packages(exclude=["*tests.*", "*examples.*"]),
)