Skip to content
Snippets Groups Projects
  1. Jan 11, 2024
  2. Jun 15, 2020
  3. Mar 03, 2020
  4. Feb 13, 2020
  5. Jan 07, 2020
  6. Dec 20, 2019
  7. Dec 19, 2019
  8. Dec 18, 2019
  9. Dec 08, 2019
    • Studer Gabriel's avatar
      fix doc generation · cb5a91a1
      Studer Gabriel authored
      - os.path.walk does not exist in Python3 anymore, use os.walk instead
        (changed interface)
      - sphinx-build tried really hard to use Python 2. Import sphinx from
        current interpreter instead and directly call its __main__ function
      cb5a91a1
  10. 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
  11. Jul 02, 2019
  12. May 29, 2019
  13. Jan 30, 2019
  14. Aug 10, 2018
  15. Mar 04, 2015
  16. Mar 03, 2015
  17. Jun 15, 2012
  18. Jun 14, 2012
  19. Jun 03, 2012
    • Marco Biasini's avatar
      make directory layout more pythonic · 7cf0038d
      Marco Biasini authored
      Instead of creating a lib/openstructure subdirectory containing
      all ost modules, use lib/python$MAJOR.$MINOR/site-packages. This
      follows more closely what other projects are doing. The main
      motivation, however is to simplify deploment of tools built on
      OpenStructure.
      7cf0038d
  20. May 24, 2011
  21. Apr 19, 2011
  22. Feb 25, 2011
  23. Nov 01, 2010
  24. Oct 28, 2010
  25. Jun 24, 2010
  26. Jun 23, 2010
  27. Jun 15, 2010
  28. Jun 14, 2010
  29. Jun 11, 2010
Loading