-
Ensure you have any version of Python greater than 2.5
-
Install tox.
pip install -U tox
-
Create virtualenv
tox -e dev
-
Run
example
commandeval "$(./.tox/dev/bin/register-python-argcomplete example)" # setup shell completion ./.tox/dev/bin/example help
Package as a single pex executable:
tox -e package
PEX_VERBOSE=1 ./dist/example # test it out
mv dist/example /usr/local/bin/example # move to usr/local/bin
scp ./dist/example ... # copy to remote machine, etc.
Run tests
tox