Force the use of the system cfitsio
authorOle Streicher <olebole@debian.org>
Fri, 15 Jul 2016 06:46:15 +0000 (08:46 +0200)
committerOle Streicher <olebole@debian.org>
Fri, 18 Jan 2019 08:59:47 +0000 (09:59 +0100)
The command line option does not help here since it works only with build_ext.

Gbp-Pq: Name Force-the-use-of-the-system-cfitsio.patch

setup.py

index a55ed1321e31798210d8d3b288c9c1d51d4aeb88..336d838b08239cb337ffa05f0af4e22e5d10810c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ class build_ext_subclass(build_ext):
     cfitsio_dir = 'cfitsio%s' % cfitsio_version
 
     def initialize_options(self):
-        self.use_system_fitsio = False
+        self.use_system_fitsio = True
         self.system_fitsio_includedir = None
         self.system_fitsio_libdir = None
         build_ext.initialize_options(self)