tobymao / saq

Simple Async Queues
https://saq-py.readthedocs.io/en/latest/
MIT License
577 stars 39 forks source link

Includes the current path as a module path to allow importlib finding in-development modules #78

Closed grigi closed 1 year ago

grigi commented 1 year ago

If you are busy developing and didn't do a pip install -e . yet, saq foo.settings is not equivalent to python -m saq foo.settings due to the prior only having access to installed modules.

This adds the current path to the module path so that it will work for both cases.