Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Fixed issues in python toolchain setup script. #3337

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hoytak
Copy link
Collaborator

@hoytak hoytak commented Oct 1, 2020

Current python uses python -m venv to run virtualenv. This updates our toolchain setup to reflect this.

Also fixes a bug in which creating softlinks can cause the script to fail if they are already present.

@hoytak hoytak requested a review from TobyRoseman October 1, 2020 23:59
@@ -3,7 +3,7 @@
set -exo pipefail

if [[ -z $VIRTUALENV ]]; then
VIRTUALENV=virtualenv
VIRTUALENV='python3 -m venv'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to support Python 2.7. I don't think this is going to work for Python 2.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants