2012-03-12 20:32:53 +00:00
|
|
|
Installation
|
|
|
|
============
|
|
|
|
|
|
|
|
First, install the required software.
|
|
|
|
|
2012-11-19 19:58:42 +00:00
|
|
|
1. Python >= 2.7 from http://www.python.org/
|
2012-03-12 20:32:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
Now install the application.
|
|
|
|
|
2013-02-21 16:50:08 +00:00
|
|
|
1. Installation with pip
|
|
|
|
|
|
|
|
If you have pip installed: ``pip install patool``
|
|
|
|
|
|
|
|
2. Installation from source
|
|
|
|
|
2012-03-12 20:32:53 +00:00
|
|
|
a) Installation as root
|
|
|
|
|
|
|
|
Run ``sudo python setup.py install`` to install patool.
|
|
|
|
|
|
|
|
b) Installation as a normal user
|
|
|
|
|
|
|
|
Run ``python setup.py install --home $HOME``. Note that you have
|
|
|
|
to adjust your PATH and PYTHONPATH environment variables, eg. by
|
|
|
|
adding the commands ``export PYTHONPATH=$HOME/lib/python`` and
|
|
|
|
``export PATH=$PATH:$HOME/bin`` to your shell configuration
|
|
|
|
file.
|
|
|
|
|
|
|
|
For more information look at the `Modifying Python's search path`_
|
|
|
|
documentation.
|
|
|
|
|
|
|
|
.. _Modifying Python's search path:
|
|
|
|
http://docs.python.org/inst/search-path.html#SECTION000410000000000000000
|
|
|
|
|
|
|
|
|
|
|
|
After installation
|
|
|
|
------------------
|
|
|
|
Patool is now installed. Have fun!
|