Slide 1

Slide 1 text

Python Virtual Environments Petr Viktorin encukou.cz [email protected] Pražské Pyvo, 2014-01-15

Slide 2

Slide 2 text

PEP 405: Python Virtual Environments Python 3.3 $ python -m venv ~/venvs/blabla $ pyvenv ~/venvs/blabla

Slide 3

Slide 3 text

OS Python stdlib virtualenv Knihovny Program virtualenv Knihovny Program Knihovny Program C knihovny

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

PEP 453: Explicit bootstrapping of pip in Python installations Python 3.4 $ python -m ensurepip Nainstaluje pip Nesahá na inernet

Slide 7

Slide 7 text

PEP 427: Wheel Binary Package Format

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

PEP 427: Wheel Binary Package Format mylib-1.0-1-py33-cp33m-linux_x86_64.whl PEP 425: Compatibility Tags for Built Distributions

Slide 10

Slide 10 text

? Petr Viktorin @encukou.cz [email protected] @encukou github.com/encukou Licence: Creative Commons Attribution-ShareAlike 3.0 http://creativecommons.org/licenses/by-sa/3.0/

Slide 11

Slide 11 text

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