Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Pylons-based web application running
Python CSS JavaScript
Branch: master

Removed misleading origin and distribution information

debshots cannot really assign the distribution like
Debian or Ubuntu properly. So due to popular request
that information is removed from the package packages.
latest commit 721b0b505b
@Signum authored
Failed to load latest commit information.
.settings Eclipse management files added
bin Added support for GZIPed debtags vocabulary files
debshots Removed misleading origin and distribution information
docs Documentation extended
.gitignore Redirection and moderation approval bugs fixed
.project Eclipse management files added
.pydevproject Eclipse management files added
COPYRIGHT Extend copyright to 2009
MANIFEST Version 0.4.8 - legacy scripts removed Pylons 0.9.6 -> 0.9.7
README.txt Brief notes on installation using mod_wsgi
development.ini Setting sane INI file defaults Pylons 0.9.6 -> 0.9.7
setup.cfg Added tests for /json/package view
test.ini I hereby pronounce the current version 1.0 :) Added missing files


Installation using Apache and mod_wsgi on Squeeze

Package installation::

 apt-get install libapache2-mod-wsgi python-imaging python-apt \
    memcached python-debian
Apache virtual host configuration::

 <VirtualHost *:80>
     #WSGIPythonHome /home/debshots/live/virtualenv
     WSGIDaemonProcess live user=debshots group=users threads=25
     WSGIProcessGroup live
     Alias /screenshots/ /home/debshots/live/screenshots/approved/
     # more Alias config for cgi-bin, et al
     WSGIScriptAlias / /home/debshots/live/live.wsgi
     <Directory /home/debshots/>
         Order deny,allow
         Allow from all
     ErrorLog ${APACHE_LOG_DIR}/error-screenshots-live.log
     LogLevel warn
     CustomLog ${APACHE_LOG_DIR}/access-screenshots-live.log combined


 import os, sys, site
 BASEDIR = os.path.dirname(__file__)
 INIFILE = os.path.join(BASEDIR, 'live.ini')
 from paste.script.util.logging_config import fileConfig
 os.environ['PYTHON_EGG_CACHE'] = '/var/tmp'
 fileConfig( INIFILE )
 from paste.deploy import loadapp
 application = loadapp('config:%s' % INIFILE)

Installation using daemontools on Lenny

 apt-get install python-virtualenv
 virtualenv .
 . bin/activate
 apt-get install python-dev
 easy_install debshots...
 paster make-config debshots my.ini
 apt-get install memcached python-memcache
 aptitude install daemontools daemontools-run
 mkdir /etc/service/debshots
 Create a file /etc/service/debshots/run...
 chmod +x /etc/service/debshots
 svc -u /etc/service/debshots
Something went wrong with that request. Please try again.