Hi,

I'm trying to write my first custom plugin and I'm wondering if there is a 
way to set things up so the plugin will be picked up automatically without 
having to adjust any environment variables.

Currently the plugin is in the same location as the beancount files.

e.g.

main.beancount
plugins/__init__.py
plugins/my_plugin.py

if I do 
export PYTHONPATH=.

this works fine

plugin "plugins.my_plugin"

But I'm wondering if there is a better way to do this. Ideally something 
without requiring to adjust PYTHONPATH.

How are you dealing with custom plugins?

Thanks and Regards,
Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/47d3216c-20f8-4522-9eb7-c87519af1fa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to