Packaging/Python: Difference between revisions
imported>Samuela |
imported>Samuela mNo edit summary |
||
| Line 1: | Line 1: | ||
Packaging of python packages is generally done via pypi2nix | Packaging of python packages is generally done via [pypi2nix](https://github.com/nix-community/pypi2nix) or [pip2nix](https://github.com/nix-community/pip2nix). | ||
== Prepare Packaging == | == Prepare Packaging == | ||
When you want to package a new software from a local checkout with the inputs coming from nixpkgs (and not virtualenv+pip) you can use the following <code>shell.nix</code> <ref>[https://nixos.org/nixpkgs/manual/#develop-local-package nixpkgs manual]</ref>: | When you want to package a new software from a local checkout with the inputs coming from nixpkgs (and not virtualenv+pip) you can use the following <code>shell.nix</code> <ref>[https://nixos.org/nixpkgs/manual/#develop-local-package nixpkgs manual]</ref>: | ||