- Feb 20, 2020
-
-
Bienchen authored
-
- Feb 13, 2020
-
-
Bienchen authored
-
- Jan 02, 2020
-
-
Andrew Waterhouse authored
-
- Dec 17, 2019
-
-
Studer Gabriel authored
-
- Nov 15, 2019
-
-
Studer Gabriel authored
execfile has been replaced by exec in Python 3
-
Studer Gabriel authored
Executed command: 2to3-2.7 -n -w scripts/ost_startup.py.in
-
- Nov 13, 2019
-
-
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
-
- Jul 04, 2019
-
-
Gerardo Tauriello authored
-
Gerardo Tauriello authored
-
Gerardo Tauriello authored
-
- Jan 14, 2019
-
-
Studer Gabriel authored
-
- Jul 02, 2018
-
- Apr 27, 2018
-
-
Gerardo Tauriello authored
-
- Mar 22, 2018
-
-
Rafal Gumienny authored
-
- Mar 20, 2017
-
-
pablo_import authored
-
pablo_import authored
-
pablo_import authored
-
pablo_import authored
-
pablo_import authored
-
pablo_import authored
-
pablo_import authored
-
- Feb 10, 2016
-
-
Bienchen authored
-
- Jan 19, 2016
-
-
Bienchen authored
-
- Dec 01, 2014
-
-
Andreas Schenk authored
-
- Jul 31, 2013
-
-
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
-
- Jun 07, 2013
-
-
Andreas Schenk authored
-
Valerio Mariani authored
Substitutes DEBIAN_STYLE_LIBEXEC flag and manages location and name of lib and libexec folders on Debian/Ubuntu-based systems
-
- May 10, 2013
-
-
ansgar authored
-
- May 08, 2013
-
-
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.
-
- Mar 18, 2013
-
-
-
Commited patched file by mistake
-
Thanks Tobias for diagnosing the problem
-
Marco Biasini authored
Up until Python 2.6, MacOS X systems were detected as 32 bit platforms. Now, they are detected as 64bit systems. This caused sys.path to be wrong and the ost module could not be imported
-
- Mar 15, 2013
-
-
Valerio Mariani authored
-
- Mar 12, 2013
-
-
Valerio Mariani authored
Commited patched file by mistake
-
Valerio Mariani authored
Commited patched file by mistake
-
Valerio Mariani authored
Thanks Tobias for diagnosing the problem
-
Valerio Mariani authored
Thanks Tobias for diagnosing the problem
-
- Feb 03, 2013
-
-
Marco Biasini authored
-
- Feb 01, 2013
-
-
Andreas Schenk authored
-