The upgrade to python3.6 allows us to replace the setuptools dependency with the newer packaging library and importlib.metadata from stdlib. importlib_metadata is used as a fallback for python versions <3.8.
I have also run pyupgrade --py36-plus on the code to simplify the upgrade to newer python3.6 syntax. isort is also included to keep imports updated.
I am happy to revert any changes here if they are unwanted (eg. running pyupgrade, isort, etc.)
Thank you for your PR! Unfortunately, as I mentioned in #26, this isn't something I'm ready to pursue. Feel free to continue the discussion there if you'd like.
The upgrade to python3.6 allows us to replace the
setuptools
dependency with the newerpackaging
library andimportlib.metadata
from stdlib.importlib_metadata
is used as a fallback for python versions<3.8
.I have also run
pyupgrade --py36-plus
on the code to simplify the upgrade to newerpython3.6
syntax.isort
is also included to keep imports updated.I am happy to revert any changes here if they are unwanted (eg. running pyupgrade, isort, etc.)
Fixes #26