Skip to content

Commit

Permalink
Update DEVELOPER_NOTES.md
Browse files Browse the repository at this point in the history
include venv section
  • Loading branch information
caver456 authored Dec 30, 2023
1 parent fafe274 commit 50d9aff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DEVELOPER_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,10 @@ Run 'pyinstaller radiolog.spec'. The executable will be created in the dist/rad

## Build a test installer (e.g. to test edits to radiolog.iss before committing)
Run '\<Inno Setup install dir\>\ISCC.exe radiolog.iss' - this will build dist\radiolog-\<version\>-setup.exe.

## Run in a virtual environment (e.g. to test specific dependency versions)
On the development machine, a venv exists in Documents/GitHub/.radiolog.venv.
1. From Documents/GitHub, run ./.radiolog.venv/Scripts/activate.
2. Copy the latest GitHub/radiolog directory into the .radiolog.venv directory.
3. Install whatever module versions you want to test, probably by modifying requirements.txt then running 'pip -install requirements.txt'.
4. Running python or pyinstaller or ISSC from that virtual env will use whatever module versions you have installed into that virtual env. The resulting builds will be placed in the non-virtual-env directory (Documents/GitHub/radiolog rather than Documents/GitHub/.radiolog.venv/radiolog).

0 comments on commit 50d9aff

Please sign in to comment.