Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Don't install pip as root. #247

Open
markrwilliams opened this issue Oct 8, 2017 · 1 comment
Open

Don't install pip as root. #247

markrwilliams opened this issue Oct 8, 2017 · 1 comment

Comments

@markrwilliams
Copy link
Member

braid.pip.install installs pip and some dependencies, including setuptools, into the system's site packages directory. This is fraught with peril because the newly installed setuptools might conflict with the system's setuptools in disastrous ways.

It would be better to install pip and virtualenv into each user's site packages directory. This contains the potential damage and makes recovering from a bad installation is as easy as deleting files from ~/.local.

Once installed, these tools can be used to bootstrap virtual environments through the existing code in braid.venv.

@markrwilliams
Copy link
Member Author

Also, it doesn't look like anything uses braid.pip now?

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

No branches or pull requests

1 participant