10 lines
132 B
Bash
10 lines
132 B
Bash
#!/usr/bin/env bash
|
|
|
|
project-venv() {
|
|
mkdir $1
|
|
cd $1
|
|
python -m venv venv
|
|
echo venv > .gitignore
|
|
source venv/bin/activate
|
|
}
|