FRidh / python-on-nix

UNMAINTAINED - Please check Nixpkgs manual instead - Tutorial showing you can use Python on Nix
39 stars 7 forks source link

Virtualenv #2

Open ryneeverett opened 8 years ago

ryneeverett commented 8 years ago

My understanding is that nix "environments" eliminate the need for virtualenv. If this is correct, you might mention this in the "Installing Python" section in which you're already tearing down traditional notions of how to build a python dev environment.

FRidh commented 8 years ago

This is indeed correct! I can indeed be more explicit about it.

ryneeverett commented 8 years ago

In the build you linked, I would suggest a change like:

< The recommended method for creating Python environments for development is with nix-shell.
---
> Whereas the typical means of creating Python development environments is virtualenv, the recommended method with nix is with nix-shell.

It's something that ought to be mentioned early in my opinion because most python devs are going to think "oh, so I enter a nix shell and then make my virtualenv".