[PD] remove Python.h from headers
seems not to be necessary anymore
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
{
|
||||
|
||||
@@ -114,9 +114,6 @@
|
||||
# include <OSD_OpenFile.hxx>
|
||||
#endif
|
||||
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#endif // _PreComp_
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user