PyComicsViewer Code
Status: Beta
Brought to you by:
borco
PyComicsViewer - A Python Comics Viewer
=======================================
Dependencies
------------
* python 2.4 or newer
* python-gtk 2.4 or newer
* pil (Python Imaging Library) [optional]
Installation
------------
To install the viewer from sources you will
need, beside the run-time dependencies:
* python-dev
* c compiler
Installation uses the distutils module from python.
The installation can be tweaked in a couple of
ways:
* '--install-script' controlls where the startup
script, pycomicsviewer.py, is installed
* '--install-lib' controlls where the python code
and the compiled C modules are installed
* '--install-data' controlls the place where
the data, the glade files and the images, are
installed
Examples:
python setup.py install --prefix=/tmp/foo
==>
pycomicsviewer.py -> /tmp/foo/bin/pycomicsviewer.py
PyComicsViewer -> /tmp/foo/lib/python-2.3/site-packages/PyComicsViewer
glade & png's -> /tmp/foo/PyComicsViewer
python setup.py install --install-scripts=/tmp/foo \
--install-lib=/tmp/foo --install-data=/tmp/foo
==>
pycomicsviewer.py -> /tmp/foo/pycomicsviewer.py
PyComicsViewer -> /tmp/foo/PyComicsViewer
glade & png's -> /tmp/foo/PyComicsViewer
Starting
--------
To start the viewer, simply run the 'pycomicsviewer.py'. If you use
a binary distribution that hasn't been tweaked (uses the default
setup settings), the starting script should be in:
/usr/bin/ -- on Linux
%PYTHON24%\scripts\ -- on Windows
IMPORTANT NOTE: Don't mistake the 'pycomicsviewer.py' with the
'PyComicsViewer.py'. They are different beasts
and only 'pycomicsviewer.py' can start the viewer.