News for hackers. Stuff that matters.
Re:Why I hate virtualenv and pip by kevcampb on Friday December 06, 2013 @01:18AM (#6859704)
Why I love virtualenv and pip.

We use virtualenv and pip extensively here, with virtualenvwrapper.

  mkvirtualenv <project>
  workon <project>
  pip install -r requirements.txt
It just works. I don't spend any time on it. Our developers don't have any problems with it. All the other considerations in the article we either handle as you're meant to, or understand the limitations.

Still, looking forward to some interesting comments on here.

Re:Why I hate virtualenv and pip by jvdh on Friday December 06, 2013 @03:42AM (#6860120)
Did you actually read the entire article, or did you just come here to say that?
Re:Why I hate virtualenv and pip by Anderkent on Friday December 06, 2013 @11:52AM (#6862008)
It extends to deployment. Off top of my head, the script that you have to write to trivially deploy with virtualenv is something like:

    virtualenv --no-site-packages -p$PYTHON $workdir
    "$workdir/bin/activate"
    (cd $my-package-dir && python setup.py)
    "$workdir/bin/deactivate"
    virtualenv --relocatable "$workdir"
    fpm -s dir -t deb -n "$package" -p "$package.deb" -d <system dependencies> ...
And you have a deb that you can just scp anywhere and it'll just work.
Re:Why I hate virtualenv and pip by yukkurishite on Friday December 06, 2013 @02:53AM (#6859976)
Thanks for your pointless blog post
Re:Why I hate virtualenv and pip by shintoist on Friday December 06, 2013 @03:18AM (#6860040)
Thanks for your pointless comment