]> git.donarmstrong.com Git - debhelper.git/commitdiff
Pass --force option to Python distutils install command.
authorAndrew Straw <strawman@astraw.com>
Sun, 27 Sep 2009 00:26:01 +0000 (17:26 -0700)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 1 Oct 2009 18:10:53 +0000 (14:10 -0400)
This command will prevent distutils from attempting to determine
whether a file should be installed based on the timestamp of the
to-be-overwritten file.

Debian/Debhelper/Buildsystem/python_distutils.pm

index bc6e71f7756f0ff17fe38934e66adb2574ab8fbd..174400421db34d89fa173a74a6226a8c0c3493be 100644 (file)
@@ -167,6 +167,7 @@ sub install {
        my $this=shift;
        my $destdir=shift;
        $this->setup_py("install",
+                "--force",
                "--root=$destdir",
                "--no-compile",
                "-O0",