Skip to content

Commit 76a7488

Browse files
Added README
1 parent 7303c17 commit 76a7488

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Pip Venv Sure
2+
3+
Prevents the installation of packages into you base installation of python
4+
5+
## usage and setup
6+
7+
```commandline
8+
pip3 install pip-venv-sure
9+
alias pip3=pip-venv-sure
10+
```
11+
12+
## motivation
13+
14+
I don't like installing packages directly into my base installation. But as a mere human being I sometimes forget to activate my venv, so this prevent these kinds to accidents from happening.
15+
16+
### installing packages to base installation.
17+
18+
Some times there is a need to install package directly to the base installation of python in that case you can use the following command.
19+
20+
```commandline
21+
pip3 install any-template --allow-no-venv
22+
23+
# OR
24+
25+
pip3 install any-template -anv
26+
```

0 commit comments

Comments
 (0)