pyinvoke / invoke

Pythonic task management & command execution.
http://pyinvoke.org
BSD 2-Clause "Simplified" License
4.31k stars 365 forks source link

Add the correct path when it's a package #941

Open fraenkel opened 1 year ago

fraenkel commented 1 year ago

When tasks is a package, adding itself to the sys.path causes a bit of trouble when you have collisions with top-level packages and modules within the package.

fraenkel commented 1 year ago

Fixes #937