update PYTHONPATH when running from source

Bug #1951258 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Martin Packman

Bug Description

After moving to main.rs, when brz is run from a source directory we no longer include the source directory on PYTHONPATH by default.

This is a little annoying, since it means you always have to manually add it.

We should update sys.path to start with the brz executable's directory when brz is run from a directory that contains a "breezy" subdirectory. Alternatively, maybe we can just load the breezy module and set sys.modules manually?

Related branches

Jelmer Vernooij (jelmer)
Changed in brz:
milestone: none → 4.0.0
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.