set INSTALL_TO_SITEPACKAGES to ON by default
and add some modules to the freecad-namespace (freecad.part, freecad.partdesign, freecad.sketcher)
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
476089a2ad
commit
8e2ab9f768
@@ -14,7 +14,7 @@ macro(InitializeFreeCADBuildOptions)
|
||||
option(FREECAD_BUILD_DEBIAN "Prepare for a build of a Debian package" OFF)
|
||||
option(BUILD_WITH_CONDA "Set ON if you build FreeCAD with conda" OFF)
|
||||
option(BUILD_DYNAMIC_LINK_PYTHON "If OFF extension-modules do not link against python-libraries" ON)
|
||||
option(INSTALL_TO_SITEPACKAGES "If ON the freecad root namespace (python) is installed into python's site-packages" OFF)
|
||||
option(INSTALL_TO_SITEPACKAGES "If ON the freecad root namespace (python) is installed into python's site-packages" ON)
|
||||
option(OCCT_CMAKE_FALLBACK "disable usage of occt-config files" OFF)
|
||||
if (WIN32 OR APPLE)
|
||||
option(FREECAD_USE_QT_FILEDIALOG "Use Qt's file dialog instead of the native one." OFF)
|
||||
|
||||
@@ -38,6 +38,9 @@ endif()
|
||||
INSTALL(
|
||||
FILES
|
||||
${NAMESPACE_INIT}
|
||||
part.py
|
||||
partdesign.py
|
||||
sketcher.py
|
||||
project_utility.py
|
||||
UiTools.py
|
||||
utils.py
|
||||
|
||||
1
src/Ext/freecad/part.py
Normal file
1
src/Ext/freecad/part.py
Normal file
@@ -0,0 +1 @@
|
||||
from Part import *
|
||||
1
src/Ext/freecad/partdesign.py
Normal file
1
src/Ext/freecad/partdesign.py
Normal file
@@ -0,0 +1 @@
|
||||
from PartDesign import *
|
||||
1
src/Ext/freecad/sketcher.py
Normal file
1
src/Ext/freecad/sketcher.py
Normal file
@@ -0,0 +1 @@
|
||||
from Sketcher import *
|
||||
Reference in New Issue
Block a user