Packaging/Python: Difference between revisions

m Testing out a module in a Python shell: fix "xacro = " -> "mypackage = "
QuBe (talk | contribs)
m Add uv2nix to the table
 
(One intermediate revision by one other user not shown)
Line 49: Line 49:


== Pip and Virtualenv enabled nix-shell ==
== Pip and Virtualenv enabled nix-shell ==
It might be the case that you simply need to prototype fast small projects with <code>pip</code> and <code>virtualenv</code> without the need for relying on the dependencies being already packaged in nixpkgs.  
It might be the case that you simply need to prototype fast small projects with <code>pip</code> and <code>virtualenv</code> without the need for relying on the dependencies being already packaged in nixpkgs.
{{Notice|Keep in mind that the virtualenv symlinks will be invalidated if you update your system!||
 
{{Note|Keep in mind that the virtualenv symlinks will be invalidated if you update your system!}}
   
   
For a local working python environment you can use the following <code>shell.nix</code><ref>https://groups.google.com/forum/#!topic/nix-devel/3qPfwCAV3GE</ref>.
For a local working python environment you can use the following <code>shell.nix</code><ref>https://groups.google.com/forum/#!topic/nix-devel/3qPfwCAV3GE</ref>.
Line 280: Line 281:
|884+
|884+
|unmaintained
|unmaintained
|-
|TODO
|uv2nix
|https://github.com/pyproject-nix/uv2nix
|675+
|
|-
|-
|TODO
|TODO