-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
49 lines (42 loc) · 1.21 KB
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
[build-system]
requires = ["setuptools>=77", "wheel"]
build-backend = "setuptools.build_meta"
# ---------------------------------------------------------------------
[project]
name = "ngraph"
version = "0.6.1"
description = "A tool and a library for network modeling and capacity analysis."
readme = "README.md"
authors = [{ name = "Andrey Golovanov" }]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
# Runtime deps
dependencies = [
"geopy",
"networkx",
"pyyaml",
]
# Dev/CI extras
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-cov",
"black",
"isort",
]
[project.scripts]
ngraph = "ngraph.cli:main"
# ---------------------------------------------------------------------
# Pytest flags
[tool.pytest.ini_options]
addopts = "--cov=ngraph --cov-fail-under=85 --cov-report term-missing"
# ---------------------------------------------------------------------
# Tell setuptools to package ONLY the 'ngraph' package tree
[tool.setuptools.packages.find]
include = ["ngraph*"] # anything under ngraph/
exclude = ["tests*", "notebooks*", "examples*", "dev*"]