moggers87 / exhibition

A static site generator
GNU General Public License v3.0
5 stars 2 forks source link

Custom filter modules not in site-packages #70

Open moggers87 opened 5 years ago

moggers87 commented 5 years ago

Filter modules defined in the current working directory (or anywhere that's not site packages) are not easily used (you get an import error) and it is impossible to use import_module to do relative imports without specifying a package. A quick workaround for this is to prepend PYTHONPATH=. to every exhibition command.

We should either: