We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 578d095 commit d8e0cc9Copy full SHA for d8e0cc9
lint-pyre.sh
@@ -5,6 +5,6 @@
5
6
set -e
7
8
-PURELIB=$(poetry run python -c 'from distutils.sysconfig import get_python_lib;print(get_python_lib(0))')
9
-PLATLIB=$(poetry run python -c 'from distutils.sysconfig import get_python_lib;print(get_python_lib(1))')
+PURELIB=$(poetry run python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')
+PLATLIB=$(poetry run python -c 'import sysconfig; print(sysconfig.get_path("platlib"))')
10
poetry run pyre --source-directory src --search-path ../antsibull-core/src/ --search-path "$PURELIB" --search-path "$PLATLIB" --search-path stubs/ "$@"
0 commit comments