python-on-nix icon indicating copy to clipboard operation
python-on-nix copied to clipboard

Virtualenv

Open ryneeverett opened this issue 9 years ago • 2 comments

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.

ryneeverett avatar May 02 '16 02:05 ryneeverett

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

FRidh avatar May 02 '16 06:05 FRidh

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".

ryneeverett avatar May 02 '16 06:05 ryneeverett