Removes the use of namespace packages from pyutilib. After we consolidated the bulk of PyUtilib into a single repository, there aren't (maintained) pyutilib capabilities outside of this repository. Removing the namespace packaging simplifies several things (including plugin imports)
Reworks how optional dependent libraries are imported so that many optional dependencies (notably pkg_resources and openpyxl) are only imported "on demand". This significantly speeds up importing pyutilib.
Changes proposed in this PR:
remove namespace packages pyutilib and pyutilib.component
rework optional dependency imports
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution:
I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
Coverage increased (+0.03%) to 61.069% when pulling b7f5c75674f5051c81f47e7494b189907faa1464 on import-updates into 6591015234b400865573eebcb710e534e60ce13d on master.
Fixes: #N/A
Summary/Motivation:
This PR does two things:
pkg_resources
andopenpyxl
) are only imported "on demand". This significantly speeds up importing pyutilib.Changes proposed in this PR:
pyutilib
andpyutilib.component
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: