run from source could be nicer - set path, don't pollute namespace
Bug #599565 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wikkid Wiki |
Confirmed
|
Medium
|
Unassigned |
Bug Description
currently AFAICT you're meant to run from source by doing:
ln -s $(pwd)/plugin ~/.bazaar/
PYTHONPATH=
however this makes 'plugin' turn up as a top level importable called plugin, which while not really ugly is a bit unexpected. Secondly, the PYTHONPATH export is a bit ugly.
Perhaps it would be nicer to when importing wikkid if you get a not-found, try importing it from abspath(
To post a comment you must log in.
Actually I run from source by not using the bzr plugin.
I go ./bin/wikkid-serve <branch>
But I'm interested in what you are saying here.