422
|
1 cmd2 can be installed from PyPI by ``easy_install`` or ``pip``.
|
|
2
|
|
3 Development trunk can be downloaded with mercurial::
|
|
4
|
|
5 hg clone http://hg.assembla.com/python-cmd2
|
|
6
|
|
7 To install from the trunk, ``cd python-cmd2`` and run ``python setup.py install`` or ``python setup.py develop`` (requires setuptools).
|
|
8
|
|
9 Python 3
|
|
10 --------
|
|
11
|
|
12 The Python 3 egg downloaded from PyPI or installed by ``pip`` or ``easy_install`` is ready to go.
|
|
13
|
|
14 To install from source for Python 3::
|
|
15
|
|
16 2to3 -w cmd2.py
|
|
17 python3 setup.py install
|
|
18
|
|
19
|
|
20 |