-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
115 lines (105 loc) · 3.08 KB
/
pyproject.toml
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
[tool]
[tool.poetry]
name = "textnets"
version = "0.9.5"
description = "Automated text analysis with networks"
license = "GNU General Public License v3"
keywords = [
"computational social science",
"network analysis",
"nlp",
"text analysis",
"visualization"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Sociology"
]
homepage = "https://textnets.readthedocs.io"
repository = "https://github.com/jboynyc/textnets"
authors = ["John D. Boy <jboy@bius.moe>"]
readme = "README.rst"
include = [
{ path = "textnets/_ext*.so", format = "wheel" },
"docs/*.py",
"docs/refs.bib",
"docs/*.rst",
"docs/_static",
"docs/*.svg",
"LICENSE",
"*.rst",
"tests/*.py",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/jboynyc/textnets/issues"
"Changelog" = "https://textnets.readthedocs.io/en/stable/history.html"
"Documentation" = "https://textnets.readthedocs.io"
[tool.poetry.dependencies]
python = ">=3.9,<=3.13"
setuptools = ">=41"
Cython = "^3.0.3"
cairocffi = {version = "^1.6.1", markers = "sys_platform=='linux' or sys_platform=='darwin'"}
pycairo = {version = "^1.24.0", markers = "sys_platform=='win32'"}
igraph = "^0.11.3"
leidenalg = "^0.10.1"
pandas = "^2.1.1"
scipy = "^1.11.3"
spacy = "^3.7.4"
spacy-lookups-data = "^1.0.5"
toolz = "^0.12.0"
tqdm = "^4.64.1"
wasabi = "^1.1.2"
concepts = {version = "^0.9.2", optional = true}
pyarrow = {version = "^14.0.1", markers = "implementation_name!='pypy'"}
[tool.poetry.group.doc.dependencies]
en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl"}
ipykernel = "^6.27.1"
jupyter-sphinx = "^0.5.3"
shibuya = {version = "^2024.1.2", allow-prereleases = true}
sphinx = "^7.2.6"
sphinxcontrib-bibtex = "^2.6.1"
[tool.poetry.group.dev.dependencies]
coverage = "^7.3.1"
flake8 = "^6.1.0"
mypy = "^1.5.1"
pytest = "^7.4.3"
ufmt = "^2.1.0"
pandas-stubs = "^2.1.4.231227"
[tool.poetry.extras]
fca = ["concepts"]
[tool.poetry.build]
script = "build.py"
generate-setup-file = true
[build-system]
requires = [
"Cython",
"poetry-core>=1.0.0",
"setuptools>=41",
]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = "textnets"
warn_unused_ignores = true
warn_unreachable = true
ignore_missing_imports = true
pretty = true
[tool.ufmt]
excludes = [
"textnets/_ext*.so"
]
[tool.pytest.ini_options]
filterwarnings = ["ignore:invalid escape sequence:DeprecationWarning"]