Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.14 KB

dev_environment.md

File metadata and controls

34 lines (22 loc) · 1.14 KB

Setting up Python for Spyglass

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

Building Spyglass

OS-specific builds of Spyglass are generated using pyInstaller.

macOS (Intel)

Install pyInstaller and UPX, then run:

$ pyinstaller --clean spyglass.py -F -n Spyglass -c -i assets/Spyglass.icns

Windows

$ pyinstaller --clean spyglass.py -F -n Spyglass.exe -c -i Spyglass.ico