lang-main/pyproject.toml
2024-07-03 18:01:33 +02:00

64 lines
1.7 KiB
TOML

[project]
name = "lang-main"
version = "0.1.0dev1"
description = "Several tools to analyse maintenance data with strong focus on language processing"
authors = [
{name = "d-opt GmbH, resp. Florian Förster", email = "f.foerster@d-opt.com"},
]
dependencies = [
"pandas>=2.2.2",
"networkx>=3.3",
"spacy[lookups,transformers]>=3.7.4",
"sentence-transformers>=2.7.0",
"numpy>=1.26.4",
"pip>=24.0",
"typing-extensions>=4.12.2",
"plotly>=5.22.0",
"dash>=2.17.0",
"dash-cytoscape>=1.0.1",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "LicenseRef-Proprietary"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
notebooks = [
"jupyterlab>=4.2.0",
"ipywidgets>=8.1.2",
]
# Alph relies on Pygraphviz which again relies on Graphviz, to sucessfully build
# Pygraphviz the MSVC toolchain should be installed on the target system if it is Windows
# (Linux not tested yet). The compiler needs additional information about the location of Graphviz
# files. This information is provided by extra options.
# --config-setting="--global-option=build_ext" --config-setting="--global-option=-IC:\Program Files\Graphviz\include" --config-setting="--global-option=-LC:\Program Files\Graphviz\lib"
trials = [
"alph[graphviz]>=0.4.10",
"py4cytoscape>=1.9.0",
]
dev = [
"cython>=3.0.10",
]
[tool.ruff]
line-length = 94
indent-width = 4
target-version = "py311"
src = ["src"]
[tool.ruff.format]
quote-style = "single"
skip-magic-trailing-comma = false
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.isort]
extra-standard-library = ["typing_extensions"]