[PD] remove Python.h from headers

seems not to be necessary anymore
This commit is contained in:
Uwe
2022-03-19 20:25:22 +01:00
committed by wwmayer
parent c3aebfeb1e
commit d06dc1527c
5 changed files with 5 additions and 22 deletions

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
@@ -61,6 +57,7 @@
#include "FeatureTransformed.h"
#include "ShapeBinder.h"
namespace PartDesign {
extern PyObject* initModule();
}

View File

@@ -20,18 +20,14 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/GeometryPyCXX.h>
#include <Base/Interpreter.h>
#include <Base/VectorPy.h>
#include <Base/Tools.h>
namespace PartDesign {
class Module : public Py::ExtensionModule<Module>
{

View File

@@ -114,9 +114,6 @@
# include <OSD_OpenFile.hxx>
#endif
#include <Python.h>
#endif // _PreComp_
#endif

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
@@ -66,6 +62,7 @@
#include "ViewProviderShapeBinder.h"
#include "ViewProviderBase.h"
// use a different name to CreateCommand()
void CreatePartDesignCommands(void);
void CreatePartDesignBodyCommands(void);

View File

@@ -50,17 +50,13 @@
#ifdef _PreComp_
// Python
#include <Python.h>
// standard
#include <iostream>
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <iostream>
#include <sstream>
#include <algorithm>
// Boost
#include <boost/bind/bind.hpp>