diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-02-13 17:27:59 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-02-13 17:27:59 +0100 |
| commit | 24971a75407f0b28f2cb4e890545a0f5825af87d (patch) | |
| tree | 3fe76bce4e5eb988d89f3083223088479c53f30c /setup.py | |
| parent | eb37b3a44fe8e6f15de5211d89fcf63cdf2f6fa6 (diff) | |
| download | python-apt-24971a75407f0b28f2cb4e890545a0f5825af87d.tar.gz | |
* 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.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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", |
