2 |
# find valid python version: |
# find valid python version: |
3 |
import sys,os |
import sys,os |
4 |
python_path="/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1]) |
python_path="/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1]) |
|
if not os.access(python_path,os.F_OK): python_path="/usr/include" |
|
|
|
|
5 |
boost_path = '/usr/include' |
boost_path = '/usr/include' |
6 |
|
|
7 |
# locations of libraries for python and boost |
# locations of libraries for python and boost |
9 |
boost_lib_path = '/usr/lib' |
boost_lib_path = '/usr/lib' |
10 |
|
|
11 |
# names of libraries for python and boost |
# names of libraries for python and boost |
12 |
python_lib = 'python2.3' |
python_lib = "python%s.%s"%(sys.version_info[0],sys.version_info[1]) |
13 |
boost_lib = 'boost_python' |
boost_lib = 'boost_python' |
14 |
|
|
15 |
# names of c and c++ compilers to use |
# names of c and c++ compilers to use |