/* \file pythonincludes.h
 * \brief all includes for PYTHON layer
 */

#ifndef _PYTHON_INCLUDES_H_
#define _PYTHON_INCLUDES_H_


#ifdef HAVE_CONFIG_H
	#include <config.h>
#else
#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
#endif

#if _PYTHON_MAJOR_ == 2
#undef NPY_NO_DEPRECATED_API
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#else
#define NPY_NO_DEPRECATED_API 
#endif

#include "Python.h"
#include "arrayobject.h"

#ifdef _HAVE_BOOST_
using namespace std;
#include <boost/python/def.hpp>
#include <boost/python.hpp>
#include <boost/python/module.hpp>
using namespace boost::python;
typedef boost::python::numeric::array pyArray;
#endif


#endif
