initial set of changes introducing python3 support

This commit is contained in:
Riccardo Vianello
2014-06-17 18:26:41 +02:00
parent 5a8cc10790
commit 3358ec5925
216 changed files with 4943 additions and 3994 deletions

View File

@@ -18,7 +18,8 @@
#include <boost/python/numeric.hpp>
#include <numpy/npy_common.h>
#include <numpy/arrayobject.h>
#include <RDBoost/import_array.h>
#include <RDBoost/pyint_api.h>
namespace python = boost::python;
@@ -52,7 +53,7 @@ void convertToNumpyArray(const T &v,python::object destArray){
BOOST_PYTHON_MODULE(cDataStructs)
{
import_array();
rdkit_import_array();
python::scope().attr("__doc__") =
"Module containing an assortment of functionality for basic data structures.\n"
"\n"