Skip to content
Snippets Groups Projects
  1. Apr 05, 2024
    • Studer Gabriel's avatar
      disable numpy support in C++ layer · 728ad1c9
      Studer Gabriel authored
      Numpy support in C++ enabled features at two points:
      Efficient way of setting positions in entity handles or setting meshes
      in gfx.PrimList.
      
      Support for newer numpy versions would've required an effort to implement.
      As far as I know, no one uses these features (fingers crossed) so let's just
      dump numpy alltogether to simplify the build system.
      728ad1c9
  2. Mar 15, 2024
  3. May 11, 2023
  4. Nov 09, 2020
  5. Nov 08, 2020
  6. Mar 26, 2020
  7. Mar 11, 2020
  8. Mar 03, 2020
  9. Feb 25, 2020
  10. Feb 20, 2020
  11. Feb 13, 2020
  12. Jan 02, 2020
  13. Dec 17, 2019
  14. Nov 15, 2019
  15. Nov 13, 2019
    • Studer Gabriel's avatar
      Initial Python 3 port commit · 6e60b71d
      Studer Gabriel authored
      This commit doesn't make OpenStructure work with Python 3. The goal of this
      commit was to perform an automated port of the Python code and make it compile.
      The performed steps:
      
      - Edited CMakeLists.txt to search for Python with 3.6 as min version 3.6 is the
        Python version shipped by default with Ubuntu 18.04 LTS
      - Add version 3.6 to cmake_support/FindPython.cmake
      - Adapt setup_boost macro in cmake_support/OST.cmake to prefer versioned
        libraries and not first check for boost_python.so. In the example of
        Ubuntu 18.04, libboost_python.so is specific for Python 2 but
        libboost_python3.so is the one we want.
      - apply the following command: 2to3-2.7 -n -w <OST_DIR>
      - adapt base/pymod/wrap_base.cc, gui/pymod/wrap_gui.cc and
        gui/pymod/export_message_widget.cc as PyString functionalities do not exist
        anymore in the Python 3 interpreter (replaced by PyUnicode)
      - adapt gui/src/python_shell/python_interpreter_worker.hh to resolve issue
        discussed in https://stackoverflow.com/questions/23068700/embedding-python3-in-qt-5
        Long story short: Qt does a typedef for "slots" which causes trouble with
        other headers that are pulled in from the Python interpreter
      6e60b71d
  16. Jul 04, 2019
  17. Jan 14, 2019
  18. Jul 02, 2018
  19. Apr 27, 2018
  20. Mar 22, 2018
  21. Mar 20, 2017
  22. Feb 10, 2016
  23. Jan 19, 2016
  24. Dec 01, 2014
  25. Jul 31, 2013
    • Marco Biasini's avatar
      don't create ~/.ostrc · 33b47fa3
      Marco Biasini authored
      fixes problems for users with read-only home directories. Plus,
      it's easy enough for the user to create the file when it's
      needed
      33b47fa3
  26. Jun 07, 2013
  27. May 10, 2013
  28. May 08, 2013
    • Marco Biasini's avatar
      remove 'ost' directory from sys.path · a3be372c
      Marco Biasini authored
      since the ost startup script lives in the same directory as the
      top-level ost modules (python{version}/site-packages/ost), the
      directory got automatically added to sys.path. That's bad for
      several reasons I don't want to go in right now (see discussion
      on the mailing list). Instead of passing the script as a script
      name to execute, we now use execfile with the startup script.
      This circumvents addition of the directory to the path and
      makes Gabriel smile again.
      a3be372c
  29. Mar 18, 2013
Loading