-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (32 loc) · 1.01 KB
/
pyproject.toml
File metadata and controls
41 lines (32 loc) · 1.01 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
[project]
name = "nixos_nspawn"
description = "NixOS Nspawn container imperative management tool"
authors = [{ name = "Lucas Savva", email = "lucas@m1cr0man.com" }]
dynamic = ["version"]
readme = "REAMDE.md"
license = { text = "MIT" }
requires-python = ">=3.11"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = ["rich ~= 14.0"]
[dependency-groups]
dev = ["ruff ~= 0.11", "ty ~= 0.0.1"]
[project.scripts]
nixos-nspawn = "nixos_nspawn:main_with_args"
[tool.setuptools.packages.find]
include = ["nixos_nspawn*"]
[tool.setuptools.package-data]
"nixos_nspawn" = ["*.txt"]
"nixos_nspawn.nix" = ["*", "containers-next/*"]
[tool.setuptools.dynamic]
version = { file = ["nixos_nspawn/version.txt"] }
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
target-version = "py311"
exclude = ["dist/*", "build/*", "__pycache__", ".git", ".vscode", "*.egg-info"]
[tool.ruff.lint]
preview = true
select = ["A", "B", "C4", "E", "F", "I", "N", "W"]
ignore = ["E203"]