- Nov 05, 2020
-
-
Studer Gabriel authored
Unit tests successfully run through with Python 3.9 on Fedora 33 (no GUI)
-
- Dec 06, 2019
-
-
Studer Gabriel authored
-
- Dec 05, 2019
-
-
Studer Gabriel authored
-
- Nov 26, 2019
-
-
Studer Gabriel authored
This can happen if python has been compiled with a specialized malloc.
-
- 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
-
- Jun 24, 2019
-
-
Bienchen authored
-
- Sep 13, 2013
-
-
Bienchen authored
Fixed issue in FindPython: requested Python version was only tested to be bigger than requirement, not equal to
-
- Feb 01, 2013
-
-
Andreas Schenk authored
fixed windows install statements to install dll instead of lib file
-
Andreas Schenk authored
-
- Jun 23, 2012
-
-
Marco Biasini authored
On many systems, there are several parallel python installations. There is usually a "python" symlink that points to the currently active python version. That might not be the one we need. Instead of picking up that one, we now search for python$VERSION and as a last resort use python. Also, make sure found python lib/binaries match. This fixes BZDNG-388.
-
- Jun 03, 2012
-
-
Marco Biasini authored
-
Marco Biasini authored
On many systems, there are several parallel python installations. There is usually a "python" symlink that points to the currently active python version. That might not be the one we need. Instead of picking up that one, we now search for python$VERSION and as a last resort use python.
-
- Jun 18, 2011
-
-
Ansgar Philippsen authored
This reverts commit 77521f73.
-
- Jun 16, 2011
-
-
Andreas Schenk authored
-
- May 17, 2011
-
-
Andreas Schenk authored
changed cmake scripts to allow building as subproject / moved common configuration from startup scripts to separate script
-
- Apr 11, 2011
-
-
Valerio Mariani authored
-
Valerio Mariani authored
-
- Feb 26, 2010
-
-
marco authored
git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1742 5a81b35b-ba03-0410-adc8-b2c5c5119f08
-