This is a simple presentation controller intended to be run on desktop computers and accessed from mobile devices in the same LAN (usually via Wi-Fi).
It has been tested on Windows and Linux.
- Python 2.7+ or 3.3+.
- PyQt4, PyQt5 or PySide.
- PyUserInput
- PyWin32 (for Windows only)
- PyXlib (for Linux only)
- If using Python 3 you may need to use latest head of LiuLang/python3-xlib as earlier versions don't work due to this issue
- netifaces
- Tornado web server
-
Install above requirements through your usual distro channels, with the mentioned exceptions.
-
Run the following on the directory this README is placed:
python -m rereremote.gui.main
-
Download ReReRemote_Windows.zip. Uncompress.
-
Run
rereremote_gui.exe
.
These instructions apply for a build of Re Re Remote using Python 3.3, PyQt 5.2 and x86 (32 bit).
These instructions have been tested on a Windows XP virtual machine (pretty old, but it works pretty well and the executables generated should work on newer Windows versions flawlessly).
Note: At the time of writing, cx_Freeze does not work well on Python 3.4, which has been released just a few days ago.
-
Install Python 3.3 (32-bit). Consider adding it to
PATH
. -
Install PyQt5. A minimal install should suffice (although you may want to check Developer tools to get the Qt resource compiler).
-
Install PyWin32. You'll need to click in Files in order to find installers.
-
Install tornado. You can install the version found in this page in order to avoid building the C extension yourself.
-
Install netifaces-merged, which brings Python 3 compatibility and some Windows binaries. At the time of writing there are only Python 3.3 and 32-bit binaries here, so if you choose 3.4+ or 64 bits you'll need to build them yourself, sorry.
-
Install PyUserInput. Download a ZIP with Github, uncompress it,
cd
to it in the console and runpython setup.py install
.It may throw an error about pyHook missing. Don't mind it, it is not used in this project.
-
Add PyQt5 package to the system path. This is needed in order for Qt to find its plugins. The path you need to add would be something like
C:\Python33\Lib\site-packages\PyQt5
.Notice altering the
PATH
only affects newly opened applications. You need to close your terminals in order for them to get the newPATH
. -
Download this repository,
cd
to it and runpython -m rereremote.gui.main
.Congratulations, you got it running! You can make changes in the source now if you want.
-
Install cx_Freeze.
-
Build the executables running
python setup.py build
in the project directory. They should be created inbuild/exe.win32-3.3
. We will refer to this directory as the build directory. -
In order for these executables to work in other machines you need to copy the following Microsoft Visual C++ redistributables into the build directory.
msvcp100.dll
msvcr100.dll
Usually you can find these files in
C:\Windows\system32
. -
In order for Qt not to raise an error about Windows platform plugin missing and quitting you need to copy
libEGL.dll
from PyQt directory (C:\Python33\Lib\site-packages\PyQt5\libEGL.dll
) into the build directory.
And that's all! Copy or zip the build directory and you are done. Wasn't it easy?