From 24971a75407f0b28f2cb4e890545a0f5825af87d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 13 Feb 2010 17:27:59 +0100 Subject: * data/templates/*.in: Switch MirrorsFile to relative filenames. - setup.py: Copy the mirror lists to the build directory - aptsources/distinfo.py: Support relative filenames for MirrorsFile. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 2fa8198b..b285fcee 100644 --- a/setup.py +++ b/setup.py @@ -55,6 +55,10 @@ if len(sys.argv) > 1 and sys.argv[1] == "build": build.write(line.lstrip("_")) source.close() build.close() + for template in glob.glob('data/templates/*.mirrors'): + import shutil + shutil.copy(template, os.path.join("build", template)) + setup(name="python-apt", description="Python bindings for APT", -- cgit v1.2.3