Better Development Workflows with virtualenvwrapper

4021eb3a9a363520e27c736cec6905e6?s=47 doughellmann
September 27, 2011

Better Development Workflows with virtualenvwrapper

Presentation for PyATL discussing how virtualenvwrapper will make you a more productive Python programmer.

4021eb3a9a363520e27c736cec6905e6?s=128

doughellmann

September 27, 2011
Tweet

Transcript

  1. Doug Hellmann PyATL 8 April 2010 Better Development Workflows with

    virtualenvwrapper Tuesday, September 27, 2011
  2. In the beginning... • Install Python • Install dependencies •

    Write software • Package • Release • Get rich! Tuesday, September 27, 2011
  3. ...and then • New project! • Upgrade dependencies • Write

    software • Package • Release • Get richer! Tuesday, September 27, 2011
  4. But... • A Bug in Project 1! • Project 1

    no longer runs!! • Conflict!!! Tuesday, September 27, 2011
  5. What’s a Developer to Do? Don’t panic! Tuesday, September 27,

    2011
  6. Downgrade? Error prone. Tuesday, September 27, 2011

  7. Buy another Computer? Pricy Tuesday, September 27, 2011

  8. Use a Virtual Machine? Overkill Tuesday, September 27, 2011

  9. virtualenv Just right! Tuesday, September 27, 2011

  10. Benefits of virtualenv Simplicity Tuesday, September 27, 2011

  11. Benefits of virtualenv Compatibility Tuesday, September 27, 2011

  12. Benefits of virtualenv Be yourself Tuesday, September 27, 2011

  13. Benefits of virtualenv Make as many as you want Tuesday,

    September 27, 2011
  14. Benefits of virtualenv Isolation Tuesday, September 27, 2011

  15. Demonstration: virtualenv Tuesday, September 27, 2011

  16. Messy Shortcomings of virtualenv Tuesday, September 27, 2011

  17. Still manual Shortcomings of virtualenv Tuesday, September 27, 2011

  18. virtualenvwrapper Add another layer Tuesday, September 27, 2011

  19. Organization Benefits of virtualenvwrapper Tuesday, September 27, 2011

  20. Automation Benefits of virtualenvwrapper Tuesday, September 27, 2011

  21. Demonstration: virtualenvwrapper Tuesday, September 27, 2011

  22. Favorite Features "My favorite thing about using virtualenvwrapper is how

    it attracts the babes.” - Danny Greenfeld “After just the general organizational nirvana that can be reached w/ the core stuff, the hooks are the best.” - Paul McLanahan Tuesday, September 27, 2011
  23. Automation Hooks • create • activate • deactivate • delete

    Tuesday, September 27, 2011
  24. post-create Initialize Tuesday, September 27, 2011

  25. Switch working configuration post-activate Tuesday, September 27, 2011

  26. Demonstration: Hooks Tuesday, September 27, 2011

  27. References • Ian Bicking’s virtualenv • http://pypi.python.org/pypi/virtualenv • virtualenvwrapper •

    http://www.doughellmann.com/projects/virtualenvwrapper/ Tuesday, September 27, 2011