summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-pc.daheim>2006-11-26 11:19:09 +0100
committerSebastian Heinlein <sebi@sebi-pc.daheim>2006-11-26 11:19:09 +0100
commita04c18d88d722609366ce4b4e12db78a816e5def (patch)
tree4d332d38582406270acfab0628215add5d85f810 /setup.py
parent9d64798215002755b17c84a61f7e91989b8c0a0e (diff)
downloadpython-apt-a04c18d88d722609366ce4b4e12db78a816e5def.tar.gz
* add a small comment to the setup
* install the .mirrors files
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py5
1 files changed, 4 insertions, 1 deletions
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,