pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.11k stars 143 forks source link

Replaced distutils.sysconfig.get_python_lib with sysconfig.get_path #401

Closed timkofu closed 2 years ago

timkofu commented 2 years ago

Fixes https://github.com/pdoc3/pdoc/issues/392

As distutils.sysconfig is now deprecated.

timkofu commented 2 years ago

Won't work with 3.6.

kernc commented 2 years ago

Thanks for the PR. I don't think that's necessarily why the CI is failing. Anyway, Python 3.6 EOL'd a couple of months ago, so that's not an issue.

timkofu commented 2 years ago

@kernc Needed a bit more work; https://github.com/pdoc3/pdoc/pull/402