view MANIFEST.in @ 5901:b9450db6c129

Attachment handler: catch all Zip-related errors I had faced the problem with attached .ppt file: MoinMoin tried to check if the file is a Zip file, but zipfile module throwed BadZipfile("Bad magic number for central directory"). Since, according to http://docs.python.org/dev/library/zipfile.html zipfile doesn't have a common base exception we can try to handle, we can only enumerate all possible exceptions. Currently, they are zipfile.BadZipfile, zipfile.LargeZipFile and RuntimeError. With Python 3.2 there will be zipfile.BadZipFile. Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 08 Dec 2012 22:54:04 +0100
parents f105598176f5
children
line wrap: on
line source
# MoinMoin - Distutils distribution files
#
# Copyright (c) 2001, 2002 by Juergen Hermann <jh@web.de>
# All rights reserved, see COPYING for details.

# additional files not known by setup.py
include README MANIFEST.in setup.cfg moin.spec
include wikiserver.py wikiserverconfig.py wikiserverlogging.conf wikiconfig.py

# documentation and licenses
recursive-include docs *

# include stuff for translators
recursive-include   MoinMoin/i18n *

# include static htdocs
recursive-include   MoinMoin/web/static/htdocs *

# include non-py stuff from werkzeug
recursive-include   MoinMoin/support/werkzeug/debug *

# contrib stuff
recursive-include   contrib *

# tests stuff
recursive-include   tests *
global-include */_tests/*

# "wiki" directory
recursive-include   wiki *

# omit revision control, python bytecode
global-exclude *.pyc
global-exclude *.pyo
global-exclude */CVS/*
global-exclude */.cvsignore

# we distribute a uncompressed version, no need for that:
global-exclude underlay.tar
global-exclude README.underlay