3.2 Installation
To install Cheetah in your system-wide Python library:
- Login as a user with privileges to install system-wide Python packages.
On POSIX systems (AIX, Solaris, Linux, IRIX, etc.), the command is normally
'su root'. On non-POSIX systems such as Windows NT, login as an
administrator.
- Run
python setup.py install
at the command prompt.
- The setup program will install the wrapper script cheetah to
wherever it usually puts Python binaries ("/usr/bin/", "bin/" in the
Python install directory, etc.)
Cheetah's installation is managed by Python's Distribution Utilities
('distutils'). There are many options for customization. Type ``python
setup.py help''
for more information.
To install Cheetah in an alternate location - someplace outside Python's
site-packages/
directory, use one of these options:
python setup.py install --home /home/tavis
python setup.py install --install-lib /home/tavis/lib/python
Either way installs to /home/tavis/lib/python/Cheetah/ . Of course,
/home/tavis/lib/python must be in your Python path in order for Python to
find Cheetah.