mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
This requires a lot of restructuring. The .nix files have to be bundled together with the python files, so they need to follow python's module system structure. I ran `nix-fast-build --no-link -j 2 --eval-workers 3 --flake .#checks` and it succeeded, so I'm reasonably confident I changed everything as required.
24 lines
365 B
TOML
24 lines
365 B
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "disko2"
|
|
version = "2.0.0-preview"
|
|
|
|
[project.scripts]
|
|
disko2 = "disko:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = { "" = "src" }
|
|
|
|
[tool.setuptools.package-data]
|
|
"*" = ["*.nix"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
|
|
[tool.autoflake]
|
|
remove_all_unused_imports = true
|
|
in_place = true
|