hacking.rst (salt-3002.1) | : | hacking.rst (salt-3002.2) | ||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
Activate the virtualenv: | Activate the virtualenv: | |||
.. code-block:: bash | .. code-block:: bash | |||
source /path/to/your/virtualenv/bin/activate | source /path/to/your/virtualenv/bin/activate | |||
Install Salt (and dependencies) into the virtualenv: | Install Salt (and dependencies) into the virtualenv: | |||
.. code-block:: bash | .. code-block:: bash | |||
pip install pyzmq PyYAML pycrypto msgpack-python jinja2 psutil futures torna do | pip install pyzmq PyYAML pycrypto msgpack jinja2 psutil futures tornado | |||
pip install -e ./salt # the path to the salt git clone from above | pip install -e ./salt # the path to the salt git clone from above | |||
.. note:: Installing psutil | .. note:: Installing psutil | |||
Python header files are required to build this module, otherwise the pip | Python header files are required to build this module, otherwise the pip | |||
install will fail. If your distribution separates binaries and headers into | install will fail. If your distribution separates binaries and headers into | |||
separate packages, make sure that you have the headers installed. In most | separate packages, make sure that you have the headers installed. In most | |||
Linux distributions which split the headers into their own package, this | Linux distributions which split the headers into their own package, this | |||
can be done by installing the ``python-dev`` or ``python-devel`` package. | can be done by installing the ``python-dev`` or ``python-devel`` package. | |||
For other platforms, the package will likely be similarly named. | For other platforms, the package will likely be similarly named. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |