1
Description: Change option providing name of Python Boost library
2
Package needs libboost-python and name of linked library depends on Python
3
version. To build for all supported Python version we need to get used
4
Python version and include it into name of linked library.
6
Author: Tomasz Rybak <bogomips@post.pl>
7
Last-Update: 2010-06-19
8
Index: pyopencl-0.92~beta+git20100618/setup.py
9
===================================================================
10
--- pyopencl-0.92~beta+git20100618.orig/setup.py 2010-06-19 20:30:40.000000000 +0200
11
+++ pyopencl-0.92~beta+git20100618/setup.py 2010-06-19 20:31:07.000000000 +0200
17
from aksetup_helper import (hack_distutils, get_config, setup,
18
NumpyExtension, set_up_shipped_boost_if_requested)
21
EXTRA_OBJECTS, EXTRA_DEFINES = set_up_shipped_boost_if_requested(conf)
23
LIBRARY_DIRS = conf["BOOST_LIB_DIR"]
24
+ conf["BOOST_PYTHON_LIBNAME"][0] += sys.version[0]+sys.version[2]
25
LIBRARIES = conf["BOOST_PYTHON_LIBNAME"]
27
from os.path import dirname, join, normpath