Upgrade to Pro — share decks privately, control downloads, hide ads and more …

python_virenv.pdf

Satoshi Ohki
November 15, 2012

 python_virenv.pdf

社内LTで発表した資料

Satoshi Ohki

November 15, 2012
Tweet

More Decks by Satoshi Ohki

Other Decks in Programming

Transcript

  1. Virtualenv • Ծ૝؀ڥΛ࡞ͬͯ͘ΕΔ • pip install virtualenv • Ծ૝؀ڥΛɺ؆୯ʹ௥Ճ࡟আ͕Մೳ •

    Ծ૝؀ڥ಺Ͱ͸ɺࢦఆͨ͠Pythonͷό ʔδϣϯͰಈ࡞͢ΔͷͰɺ͍͍ͪͪόʔ δϣϯΛҙࣝ͠ͳͯ͘Α͍ 12೥11݄17೔౔༵೔
  2. ؀ڥΛҠߦ͢Δ $ pip freeze >requirements.txt $ mkvirtualenv new_env $ pip

    install -r requirements.txt 12೥11݄17೔౔༵೔