We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The difficulty is making this work on python 3.7...
$ rg pkg_resources python/nav/config.py 30:import pkg_resources 251: for name in pkg_resources.resource_listdir('nav', current_path): 254: if pkg_resources.resource_isdir('nav', full_name): 275: content = pkg_resources.resource_string('nav', resource_path) python/nav/statemon/checker/RadiusChecker.py 17:from pkg_resources import resource_filename python/nav/buildconf.py 5:import pkg_resources 14: VERSION = pkg_resources.get_distribution("nav").version 15:except pkg_resources.DistributionNotFound: python/nav/pgsync.py 29:from pkg_resources import resource_listdir, resource_string
The text was updated successfully, but these errors were encountered:
The stuff in python/nav/config.py, python/nav/statemon/checker/RadiusChecker.py and python/nav/pgsync.py can be replaced with importlib_resources.
python/nav/config.py
python/nav/statemon/checker/RadiusChecker.py
python/nav/pgsync.py
Sorry, something went wrong.
The stuff in python/nav/buildconf.py can be handled by importlib_metadata
python/nav/buildconf.py
hmpf
Successfully merging a pull request may close this issue.
The difficulty is making this work on python 3.7...
The text was updated successfully, but these errors were encountered: