refactor: python3-poetry

This commit is contained in:
Howard Tseng
2024-09-16 23:45:29 -04:00
parent 084642aabe
commit fc239eeed5
9 changed files with 1 additions and 1 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bash
# This is an install script that is designed to run after init-mods-package-install
# so it can take advantage of packages installed
# init-mods-end depends on this script so that later init and services wait until this script exits
echo "**** Setting up poetry ****"
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
# Add poetry to the path
echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> /root/.bashrc
echo "**** poetry setup complete ****"
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-imagename-modname-install/run