File: use-debian-packaged-picosat.patch

package info (click to toggle)
python-pycosat 0.6.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 152 kB
  • sloc: python: 399; ansic: 330; makefile: 23; sh: 9
file content (22 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 28 Nov 2018 16:59:12 +0100
Description: use Debian packaged picosat

--- a/setup.py
+++ b/setup.py
@@ -15,10 +15,11 @@ ext_kwds = dict(
     define_macros = []
 )
 
-if '--inplace' in sys.argv:
-    ext_kwds['define_macros'].append(('DONT_INCLUDE_PICOSAT', 1))
-    ext_kwds['library_dirs'] = ['.']
-    ext_kwds['libraries'] = ['picosat']
+#if '--inplace' in sys.argv:
+ext_kwds['define_macros'].append(('DONT_INCLUDE_PICOSAT', 1))
+ext_kwds['include_dirs'] = ['/usr/include/picosat']
+#ext_kwds['library_dirs'] = ['.']
+ext_kwds['libraries'] = ['picosat']
 
 
 setup(