Packaging/Python: Difference between revisions

imported>Milahu
add link to pypi2nix
imported>Milahu
add TODO install binary release
Line 84: Line 84:
when we look at https://pypi.org/project/stt/#files we see only <code>*.whl</code> files
when we look at https://pypi.org/project/stt/#files we see only <code>*.whl</code> files


this means, this is a binary release, and we must build the package from source
this means, this is a binary release, so we have two options:
 
1. build from source
2. install binary release
 
==== build from source ====


replace this
replace this
Line 105: Line 110:
       };
       };
</pre>
</pre>
==== install binary release ====
TODO
examples: [https://grep.app/search?filter%5Brepo%5D%5B0%5D=NixOS/nixpkgs&filter%5Blang%5D%5B0%5D=Nix&filter%5Bpath%5D%5B0%5D=pkgs/development/python-modules/&q=.whl grep for ".whl" in nixpkgs/pkgs/development/python-modules/]


TODO or use <code>buildPythonPackage { format = "wheel"; }</code>?
TODO or use <code>buildPythonPackage { format = "wheel"; }</code>?