It is recommended that users set up a virtual environment using venv, pip-env, conda, or a similar tool when using Spyglass.
Spyglass requires Python 3.9 Users may automatically install dependencies by running the following command:
$ pip install -r requirements.txt
If pip
fails, make sure that you are using the command associated with Python 3.x. If pip
is not installed on your system, see the documentation for installing pip.
Once packages are installed, Spyglass can be executed from the terminal directly:
$ python spyglass.py
OS-specific builds of Spyglass are generated using pyInstaller.
Install pyInstaller and UPX, then run:
$ pyinstaller --clean spyglass.py -F -n Spyglass -c -i assets/Spyglass.icns
$ pyinstaller --clean spyglass.py -F -n Spyglass.exe -c -i Spyglass.ico