Commit graph

20 commits

Author SHA1 Message Date
Tobias Gruetzmacher 839deb03e8 Avoid duplicates when finding plugin modules
Since PyInstaller added support for iter_modules in release 4.4, our
previous hack just duplicates all modules. If this works as intended, we
can remove our hack in the future.
2022-05-28 21:05:12 +02:00
Tobias Gruetzmacher 0bdf3dd94b Allow adding external directories to the plugin package 2020-10-04 22:28:51 +02:00
Tobias Gruetzmacher 3256f9fdc2 Hardcode the "plugins" package name 2020-10-04 22:28:51 +02:00
Tobias Gruetzmacher 27d28b8eef Update file headers
The default encoding for source files is UTF-8 since Python 3, so we can
drop all encoding headers. While we are at it, just replace them with
SPDX headers.
2020-04-18 13:45:44 +02:00
Tobias Gruetzmacher 44791439a5 Drop Python 2 support: Obsolete future statements 2020-02-04 01:06:19 +01:00
Tobias Gruetzmacher 9c4a791853 Repair loader for PyInstaller 3.4 2019-03-08 23:46:50 +01:00
Tobias Gruetzmacher cfcfcc2468 Switch plugin loading to pkgutil.
This should work with all PEP-302 loaders that implement iter_modules.
Unfortunatly, PyInstaller (which I plan to use for Windows releases)
does not support it, so we don't get around a special case. Anyways,
this should help for #22.
2016-03-20 15:13:24 +01:00
Bastian Kleineidam 4d63920434 Updated copyright. 2014-01-05 16:50:57 +01:00
Bastian Kleineidam a1a773dd52 Fix loader in frozen executables. 2013-12-18 20:55:23 +01:00
Bastian Kleineidam 799d3040f0 Refactoring 2013-12-11 17:54:39 +01:00
Bastian Kleineidam f53a516219 Use output logging instead of print statement. 2013-04-03 20:31:10 +02:00
Bastian Kleineidam 79795115f0 Do not sort module lists. 2013-02-18 20:40:35 +01:00
Bastian Kleineidam 0e438b864e Add comic strips from Arcamax. 2013-01-23 19:34:11 +01:00
Bastian Kleineidam de1b80fa4d Fix .zip file module loading. 2012-12-12 23:27:03 +01:00
Bastian Kleineidam fcbace28b4 Load modules from .zip file. 2012-12-12 23:22:36 +01:00
Bastian Kleineidam 54eaadf4fc Updated documentation and fix some comics. 2012-11-20 18:53:53 +01:00
Bastian Kleineidam 64d9fd6ac2 Require python 2.7, use importlib. 2012-11-19 21:20:50 +01:00
Bastian Kleineidam 194d1e28b1 Add more documentation. 2012-10-11 18:02:29 +02:00
Bastian Kleineidam a7036beef7 Sort loaded plugins. 2012-10-11 14:45:06 +02:00
Bastian Kleineidam c707aa893d A lot of refactoring. 2012-10-11 12:03:12 +02:00