mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06:23:28 +01:00
disko2: Create package
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.
This commit is contained in:
1 parent
5da578139e
commit
389235b63f
88 files changed
+374
-282
No files matched your search
+18
-1
@@ -1,6 +1,23 @@
|
||||
[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
|
||||
in_place = true
|
||||
Reference in new issue
Block a user