Skip to content
Snippets Groups Projects
  1. Nov 09, 2020
  2. Nov 08, 2020
  3. Nov 05, 2020
  4. Apr 27, 2020
  5. Mar 26, 2020
  6. Feb 20, 2020
  7. Feb 05, 2020
  8. Dec 06, 2019
  9. Dec 05, 2019
  10. Nov 26, 2019
  11. 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
  12. Aug 12, 2019
  13. Jun 24, 2019
  14. Jun 14, 2019
  15. Jan 30, 2019
  16. Jan 10, 2019
  17. Jan 09, 2019
    • Studer Gabriel's avatar
      use system-provided SQLite3 library · bc703a5e
      Studer Gabriel authored
      The reason is that we want to profit from latest security updates and
      therefore not use a copy of the SQLite3 source code that becomes outdated.
      
      ToDo: test on different Linux distributions / bc2 and adapt compile
      instructions accordingly, also container recipes must be adapted.
      bc703a5e
  18. Mar 22, 2018
  19. Mar 17, 2017
  20. Mar 09, 2017
  21. Mar 08, 2017
  22. Jul 01, 2015
  23. May 28, 2015
  24. Apr 16, 2015
  25. Mar 16, 2015
  26. Nov 26, 2014
  27. Nov 20, 2014
  28. Sep 17, 2014
  29. Sep 15, 2014
  30. Jan 24, 2014
  31. Nov 08, 2013
  32. Nov 07, 2013
Loading