Closed charles-dyfis-net closed 4 years ago
On further investigation, this also happens with pypi2nix -e PyInstaller==3.5
; none of the other dependencies listed are required.
Moreover, it does not happen with PyInstaller==3.4
.
Hi, I investigated your issue and it seems like PyInstaller uses setup.py
to declare its setup requirements. This means that pypi2nix cannot detect those automatically. You could work work around the issue by supplying the -s wheel
. This will tell pypi2nix that one or more packages require wheel
to be built.
For your interest:
The built worked as is with PyInstaller==3.4
because in this version wheel was a build time dependency declared in pyproject.toml
. This is not the case in version 3.5.
I cannot fix this issue and am therefore closing it.
Running pypi2nix (4f12dc348b93cb9d9104b6909c371478f4e61644) from master, built with
(import ./VC/pypi2nix { pkgs = unstable; })
(whereunstable
points at current nixos-unstable as of the creation date of this ticket), the following occurs:Notably, the
requirements_frozen.txt
given does not explicitly includewheel
; its contents are: