Use proper Python imports
All checks were successful
Test / test (push) Successful in 1m6s

This commit is contained in:
polyfloyd 2025-07-17 18:03:32 +02:00
parent ed33bdfcba
commit a3b5392f7f
8 changed files with 38 additions and 19 deletions

View file

@ -24,7 +24,7 @@
in rec {
packages.default = pkgs.python3Packages.buildPythonPackage {
packages.default = pkgs.python3Packages.buildPythonApplication {
pname = pyprojecttoml.project.name;
version = pyprojecttoml.project.version;
pyproject = true;
@ -43,8 +43,8 @@
'';
};
packages.editable = pkgs.python3Packages.mkPythonEditablePackage {
inherit (packages.default) name version dependencies;
packages.editable = pkgs.python3Packages.mkPythonEditableApplication {
scripts = pyprojecttoml.project.scripts;
root = "$PWD/src";
passthru = { inherit (packages.default) nativeCheckInputs; };
};