|
InstallNotes
How to install cmdln.py
Featured Cmdln is one Python module -- cmdln.py -- which has no external dependencies that aren't part of the Python standard library so, if you like, you may simple copy cmdln.py into your own Python packages. The module should work with Python 2.4, 2.5, 2.6, 2.7. I haven't yet put together a version for Python 3. Do I have it installed?If you have cmdln.py installed you should be able to do this: $ python -c "import cmdln; print('yes')"
yesWhat version do I have installed?$ python -c "import cmdln; print(cmdln.__version__)" ...your installed version... How do I install or upgrade?Install with one of the following methods.
pip install cmdln More on pip here.
easy_install cmdln See good instructions here for installing easy_install (part of setuptools) here.
For example, for version 1.1.2:wget -q http://cmdln.googlecode.com/files/cmdln-1.1.2.zip unzip cmdln-1.1.2.zip cd cmdln-1.1.2 python setup.py install |
► Sign in to add a comment