[pygobject/pygobject-3-28] setup.py: forward force flag to the test extension build



commit 923bef11d037e82ae0d91cb495a09d09ab93e3ca
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sun Mar 18 22:28:34 2018 +0100

    setup.py: forward force flag to the test extension build
    
    backport from master

 setup.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/setup.py b/setup.py
index 101e915b..09c2516f 100755
--- a/setup.py
+++ b/setup.py
@@ -436,6 +436,7 @@ class build_tests(Command):
         dist = Distribution({"ext_modules": [ext]})
         cmd = dist.get_command_obj("build_ext")
         cmd.inplace = True
+        cmd.force = self.force
         cmd.ensure_finalized()
         cmd.run()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]