from : http://docs.saltstack.cn/topics/development/hacking.html#installing-for-development
virtualenv salt
pip install M2Crypto # Don't install on Debian/Ubuntu (see below) pip install pyzmq PyYAML pycrypto msgpack-python jinja2 psutil futures tornado pip install -e ./salt # the path to the salt git clone from above
pip install salt