File: Force-the-use-of-the-system-cfitsio.patch

package info (click to toggle)
python-fitsio 0.9.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 580 kB
  • ctags: 452
  • sloc: python: 3,493; ansic: 2,917; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ole Streicher <olebole@debian.org>
Date: Fri, 15 Jul 2016 08:46:15 +0200
Subject: Force the use of the system cfitsio

The command line option does not help here since it works only with build_ext.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 375a123..870d512 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,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)