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>
Thu, 29 Sep 2022 12:56:21 +0000 (14:56 +0200)
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 06e7aed439322ddf1cc5367acf84c271ffe87215..0ddbc4814803993104e95e353393f50429b2a24d 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,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)