Per Bogdanp/django_dramatiq#5 modifying PYTHONPATH can cause unexpected issues w/ module loading due to the fact that PYTHONPATH gets prepended to sys.path. Dramatiq should expose a --path CLI flag that defaults to . and append that to sys.path instead of requiring users to fiddle with PYTHONPATH.
Per Bogdanp/django_dramatiq#5 modifying
PYTHONPATHcan cause unexpected issues w/ module loading due to the fact thatPYTHONPATHgets prepended tosys.path. Dramatiq should expose a--pathCLI flag that defaults to.and append that tosys.pathinstead of requiring users to fiddle withPYTHONPATH.