Sorry if this is a dumb question. I'm working on a plugin, and for some reason, beancount isn't looking under the current directory for plugins. I have things like so:
data.beancount
tools/
__init__.py
payroll.py
data.beancount contains the line 'plugin "payroll" ""' up near the top.
If I run 'bean-check data.beancount', I get the error "Error importing "payroll": No module named 'payroll'". If I invoke bean-check with PYTHONPATH=. preceding it on the command line, it works. But the current directory is always on the PYTHONPATH, at least, that's what the docs say. Is beancount doing something overly clever here?
Ian