FreeCAD: master b630772a

Author Committer Branch Timestamp Parent
looo yorik master 2019-12-25 20:34:34 master fa44c7ae
Changeset python: add option INSTALL_TO_SITEPACKAGES

If INSTALL_TO_SITEPACKAGES is enabled, the freecad-namespace package (freecad/__init__.py) is installed in the python-sitepackage-dir. Further, the library install path (CMAKE_INSTALL_LIBDIR)
is used to find the FreeCAD shared library. If, for some reason, one wants to import another installed FreeCAD version it's possible to set the environment variable "PATH_TO_FREECAD_LIBDIR" to
point to the wanted FreeCAD-library (FreeCAD.so / FreeCAD.dll)
mod - cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake Diff File
mod - src/Ext/freecad/CMakeLists.txt Diff File
rm - src/Ext/freecad/__init__.py Diff File
add - src/Ext/freecad/__init__.py.template Diff File