|
Lines 1-28
Link Here
|
| 1 |
--- setup.py.in.orig 2015-08-26 23:32:30 UTC |
1 |
--- setup.py.in.orig 2016-07-06 12:22:54 UTC |
| 2 |
+++ setup.py.in |
2 |
+++ setup.py.in |
| 3 |
@@ -51,15 +51,15 @@ def _init_posix(init): |
3 |
@@ -26,9 +26,9 @@ import sys |
| 4 |
return wrapper |
4 |
from distutils.core import setup, Extension |
| 5 |
sysconfig._init_posix = _init_posix(sysconfig._init_posix) |
5 |
from distutils import sysconfig |
| 6 |
|
6 |
|
| 7 |
-__version__ = '@PROJECT_VERSION@' |
7 |
-cconf = """${PY_C_CONFIG}""".split(" ") |
| 8 |
+__version__ = '4.5.3' |
8 |
-ldconf = """${PY_LD_CONFIG}""".split(" ") |
|
|
9 |
-is_apple = """${APPLE}""" |
| 10 |
+cconf = """""".split(" ") |
| 11 |
+ldconf = """""".split(" ") |
| 12 |
+is_apple = """""" |
| 13 |
|
| 14 |
def cleanup(dat): |
| 15 |
ret = [] |
| 16 |
@@ -81,12 +81,12 @@ __version__ = '@PROJECT_VERSION@' |
| 9 |
|
17 |
|
| 10 |
ext_kwds = dict( |
18 |
ext_kwds = dict( |
| 11 |
name = "pycryptosat", |
19 |
name = "pycryptosat", |
| 12 |
- sources = ["${CMAKE_CURRENT_SOURCE_DIR}/pycryptosat.cpp"], |
20 |
- sources = ["${CMAKE_CURRENT_SOURCE_DIR}/pycryptosat.cpp"], |
| 13 |
+ sources = ["pycryptosat.cpp"], |
21 |
+ sources = ["pycryptosat.cpp"], |
| 14 |
define_macros = [], |
22 |
define_macros = [], |
| 15 |
- extra_compile_args = ['-I${PROJECT_SOURCE_DIR}', '-I${PROJECT_BINARY_DIR}/cmsat4-src'], |
23 |
- extra_compile_args = cconf + ['-I${PROJECT_SOURCE_DIR}', '-I${PROJECT_BINARY_DIR}/cmsat5-src'], |
| 16 |
+ extra_compile_args = ['-I/usr/local/include', '-I..cmsat4-src'], |
24 |
+ extra_compile_args = cconf + ['-I/usr/local/include', '-I../cmsat5-src'], |
|
|
25 |
extra_link_args = ldconf, |
| 17 |
language = "c++", |
26 |
language = "c++", |
| 18 |
- library_dirs=['.', '/usr/local/lib', '${PROJECT_BINARY_DIR}/lib'], |
27 |
- library_dirs=['.', '${PROJECT_BINARY_DIR}/lib'], |
| 19 |
+ library_dirs=['.', '/usr/local/lib'], |
28 |
+ library_dirs=['.', '/usr/local/lib'], |
| 20 |
libraries = ['cryptominisat4'] |
29 |
libraries = ['cryptominisat5'] |
| 21 |
) |
30 |
) |
| 22 |
|
31 |
|
| 23 |
@@ -84,5 +84,5 @@ setup( |
32 |
@@ -111,5 +111,5 @@ setup( |
| 24 |
ext_modules = [Extension(**ext_kwds)], |
33 |
ext_modules = [Extension(**ext_kwds)], |
| 25 |
py_modules = ['test_pycryptosat'], |
34 |
py_modules = ['pycryptosat'], |
| 26 |
description = "bindings to CryptoMiniSat (a SAT solver)", |
35 |
description = "bindings to CryptoMiniSat (a SAT solver)", |
| 27 |
- long_description = open('${CMAKE_CURRENT_SOURCE_DIR}/README.rst').read(), |
36 |
- long_description = open('${CMAKE_CURRENT_SOURCE_DIR}/README.rst').read(), |
| 28 |
+ long_description = open('README.rst').read(), |
37 |
+ long_description = open('README.rst').read(), |