-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ubuntu 24.04 updates. Move to poetry
- Loading branch information
Showing
6 changed files
with
18 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
#BASE=$(dirname "$0")/.. | ||
|
||
#sudo apt-get install -y --install-recommends python3-dev | ||
sudo apt-get install -y \ | ||
--install-recommends \ | ||
python3-full python3-dev \ | ||
pipx libffi-dev | ||
|
||
mkdir -p ~/.local/bin | ||
export PATH=$PATH:~/.local/bin | ||
|
||
if [ -f ~/.pip/pip.conf ] ;then | ||
mv ~/.pip/pip.conf ~/.pip/pip.conv.orig | ||
fi | ||
pipx install poetry | ||
|
||
export WORKON_HOME=$HOME/Apps/virtualenvs | ||
mkdir -p "$WORKON_HOME" | ||
python3 -m venv "$WORKON_HOME"/home_dir | ||
. "$WORKON_HOME"/home_dir/bin/activate | ||
pip install --upgrade pip | ||
pip install -r requirements.txt | ||
poetry install |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters