Mercurial > python-cmd2
comparison INSTALL.txt @ 423:fe75803a4a5e
describe Distribute requirement
author | catherine.devlin@gmail.com |
---|---|
date | Wed, 20 Jul 2011 23:21:29 -0400 |
parents | 6ffa49335dcb |
children | 47301bf13ec3 |
comparison
equal
deleted
inserted
replaced
422:6ffa49335dcb | 423:fe75803a4a5e |
---|---|
2 | 2 |
3 Development trunk can be downloaded with mercurial:: | 3 Development trunk can be downloaded with mercurial:: |
4 | 4 |
5 hg clone http://hg.assembla.com/python-cmd2 | 5 hg clone http://hg.assembla.com/python-cmd2 |
6 | 6 |
7 To install from the trunk, ``cd python-cmd2`` and run ``python setup.py install`` or ``python setup.py develop`` (requires setuptools). | 7 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.) |
8 | 8 |
9 Python 3 | 9 Python 3 |
10 -------- | 10 -------- |
11 | 11 |
12 The Python 3 egg downloaded from PyPI or installed by ``pip`` or ``easy_install`` is ready to go. | 12 The Python 3 egg downloaded from PyPI or installed by ``pip`` or ``easy_install`` is ready to go. |
13 | 13 |
14 To install from source for Python 3:: | 14 To install from source for Python 3, the 2to3 transformations must be applied to ``cmd2.py``. |
15 The best way to do this is to install ``distribute`` on Python 3 before installing | |
16 ``cmd1``:: | |
15 | 17 |
16 2to3 -w cmd2.py | 18 curl -O http://python-distribute.org/distribute_setup.py |
17 python3 setup.py install | 19 sudo python3 distribute_setup.py |
20 | |
21 sudo python3 setup.py install | |
18 | 22 |
19 | |
20 |