chemREACT / REACT

Development of a GUI for setting up and analysing DFT reaction (free) energies.
GNU General Public License v3.0
0 stars 2 forks source link

REACT

Development of a GUI for setting up and analysing DFT reaction (free) energies.

We recomend that you set up your python environment with homebrew. If you do not have homebrew, you can install this with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Quick install:

Install python environment from requirements.txt.

General dependencies

Making bundle App (mac) / exe binary (win) / unix binary (linux) with pyinstaller 4.2 Install pyinstaller (python -m pip install pyinstaller). The pyinstaller spec files for REACT and Open Source Pymol are already created, so all we now have to do is to run then, Make Open Source Pymol bundle:
  1. Go to /OpenSourcePymol and run pyinstaller OpenSourcePymol.spec
  2. Verify that the bundle runs. On MAC: open OpenSourcePymol/dist/OpenSourcePymol.app (mac) .
  3. Now, create the REACT bundle, which now includes the Open Source Pymol binary:
  4. Go to root (where REACT.py is) and run pyinstaller REACT.spec
  5. Verify that the bundle runs. On Mac: open dist/REACT.app
** Running python3 version different than 3.9. If you will not be using the included Open Source Pymol, REACT can most likely be run from source and compiled with any python3 version compatible with PyQt5. If you already have a local pymol version, you can point to this in the REACT settings and set it as your pymol for REACT. If you would like to use Open Source Pymol, you will need to compile it with your python version (version != 3.9). To do this, follow the instructions given at the official Open Source Pymol Github repository to compile it. Go to the path where you installed Open Source Pymol and cd into "site-packages" (where you see the directories pymol, pymol2, pmg_qt etc.). Do cp -r * path_to_REACT/OpenSourcePymol/ to replace our python3.9 version of Open Source Pymol with yours. Now you can follow the steps above to make the REACT/OpenSourcePymol binary/bundle/app. Good luck :) Now you can take the included pyinstaller OpenSourcePymol.spec and run it i