Refactor directory structure
This commit is contained in:
parent
7cc0136bec
commit
0d88f63cfa
39 changed files with 98 additions and 95 deletions
10
scripts/Software/Python/pyenv.sh
Executable file
10
scripts/Software/Python/pyenv.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
curl https://pyenv.run | bash
|
||||
{
|
||||
echo ""
|
||||
echo "# pyenv"
|
||||
echo 'export PYENV_ROOT="$HOME/.pyenv"'
|
||||
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"'
|
||||
echo 'eval "$(pyenv init -)"'
|
||||
echo 'eval "$(pyenv virtualenv-init -)"'
|
||||
} >> ~/.bashrc
|
9
scripts/Software/Python/setup.sh
Executable file
9
scripts/Software/Python/setup.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
sudo bash "$BASH_SOURCE"
|
||||
else
|
||||
apt install -y python3 python-is-python3 python3-pip
|
||||
pip install pipenv
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue