Mercurial > python-cmd2
view INSTALL.txt @ 427:3c17dae50252
use packrat
author | catherine.devlin@gmail.com |
---|---|
date | Thu, 28 Jul 2011 17:06:46 -0400 |
parents | fe75803a4a5e |
children | 47301bf13ec3 |
line wrap: on
line source
cmd2 can be installed from PyPI by ``easy_install`` or ``pip``. Development trunk can be downloaded with mercurial:: hg clone http://hg.assembla.com/python-cmd2 To install from the trunk, ``cd python-cmd2`` and run ``python setup.py install`` or ``python setup.py develop`` (requires setuptools). (Use ``root`` account, or ``sudo``, on *nix.) Python 3 -------- The Python 3 egg downloaded from PyPI or installed by ``pip`` or ``easy_install`` is ready to go. To install from source for Python 3, the 2to3 transformations must be applied to ``cmd2.py``. The best way to do this is to install ``distribute`` on Python 3 before installing ``cmd1``:: curl -O http://python-distribute.org/distribute_setup.py sudo python3 distribute_setup.py sudo python3 setup.py install