Python Virtual Environments

Python Virtual Environments

Velice stručné seznámení s budoucností balíčkování a instalace v Pythonu, Pražské Pyvo, 2014-01-16

870d613430249e453343efc9667ef636?s=128

Petr Viktorin

January 15, 2014
Tweet

Transcript

  1. Python Virtual Environments Petr Viktorin encukou.cz encukou@gmail.com Pražské Pyvo, 2014-01-15

  2. PEP 405: Python Virtual Environments Python 3.3 $ python -m

    venv ~/venvs/blabla $ pyvenv ~/venvs/blabla
  3. OS Python stdlib virtualenv Knihovny Program virtualenv Knihovny Program Knihovny

    Program C knihovny
  4. PEP 453: Explicit bootstrapping of pip in Python installations Python

    3.4 $ python -m ensurepip
  5. PEP 453: Explicit bootstrapping of pip in Python installations Python

    3.4 $ python -m ensurepip Nainstaluje pip
  6. PEP 453: Explicit bootstrapping of pip in Python installations Python

    3.4 $ python -m ensurepip Nainstaluje pip Nesahá na inernet
  7. PEP 427: Wheel Binary Package Format

  8. PEP 427: Wheel Binary Package Format mylib-1.0-1-py33-cp33m-linux_x86_64.whl

  9. PEP 427: Wheel Binary Package Format mylib-1.0-1-py33-cp33m-linux_x86_64.whl PEP 425: Compatibility

    Tags for Built Distributions
  10. ? Petr Viktorin @encukou.cz encukou@gmail.com @encukou github.com/encukou Licence: Creative Commons

    Attribution-ShareAlike 3.0 http://creativecommons.org/licenses/by-sa/3.0/
  11. Zdroje & odkazy http://www.python.org/dev/peps/pep-0405/: Python Virtual Environments http://www.python.org/dev/peps/pep-0453/: Explicit bootstrapping

    of pip in Python installations http://www.python.org/dev/peps/pep-0427/: The Wheel Binary Package Format 1.0 http://www.python.org/dev/peps/pep-0425/: Compatibility Tags for Built Distributions http://docs.python.org/dev/library/ensurepip.html http://docs.python.org/dev/library/venv.html