From a04c18d88d722609366ce4b4e12db78a816e5def Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Sun, 26 Nov 2006 11:19:09 +0100 Subject: * add a small comment to the setup * install the .mirrors files --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index c510331a..cc8cc107 100755 --- a/setup.py +++ b/setup.py @@ -3,6 +3,7 @@ from distutils.core import setup import glob, os, commands, sys from DistUtilsExtra.distutils_extra import build_extra, build_l10n +# Replace the leading _ that is used in the templates for translation templates = [] if not os.path.exists("build/data/templates/"): os.makedirs("build/data/templates") @@ -21,7 +22,9 @@ setup( description = 'Abstratcion of the sources.list', packages = ['AptSources'], data_files = [('share/python-aptsources/templates', - glob.glob('build/data/templates/*.info'))], + glob.glob('build/data/templates/*.info')), + ('share/python-aptsources/templates', + glob.glob('data/templates/*.mirrors'))], license = 'GNU GPL', platforms = 'posix', cmdclass = { "build" : build_extra, -- cgit v1.2.3