nilo.webgallery is a lightweight server, which allows to access images in a directory via http as a nice gallery.
Installing nilo.webgallery can be done in two different ways.
To install nilo.webgallery into any python on your system, just run:
easy_install nilo.webgallery
The webgallery script will be installed into the bin/ directory of your python distribution.
For more complex setup I recommend you to install nilo.webgallery via zc.buildout.
Create a directory for the buildout, and put this bootstrap.py file inside. Next, create buildout.cfg and edit it:
[buildout] parts = webgallery eggs = nilo.webgallery [webgallery] recipe = zc.recipe.egg:scripts scripts = webgallery eggs = nilo.webgallery entry-points = runner=nilo.webgallery.runscript:runner
Now, use any python (2.4-2.6, vanilla python recommended) and run bootstrap.py, then bin/buildout.
The webgallery script will be placed in the bin/ directory of your buildout.
usage: webgallery [options] [path] Creates a lightweight http server serving an image gallery of a directory on a filesystem. options: -h, --help display help -p HTTP_PORT (default:8000) set http port -a HTTP_ADDRESS (default:localhost) set http address path: Path of the directory which will be the root of your gallery. If not given, it takes your current working directory.