Skip to content

Commit df8ac04

Browse files
SpotlightKidjasonamyers
authored andcommitted
Merged in SpotlightKid/virtualenvwrapper/bugfix/distutils-sysconfig (pull request #56)
Import distutils.sysconfig properly (fixes #167) Approved-by: Jason Myers <[email protected]> Approved-by: Jeff Widman <[email protected]>
2 parents d2e5303 + 764a925 commit df8ac04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ function virtualenvwrapper_get_python_version {
814814

815815
# Prints the path to the site-packages directory for the current environment.
816816
function virtualenvwrapper_get_site_packages_dir {
817-
"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/python" -c "import distutils; print(distutils.sysconfig.get_python_lib())"
817+
"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_ENV_BIN_DIR/python" -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib())"
818818
}
819819

820820
# Path management for packages outside of the virtual env.

0 commit comments

Comments
 (0)