Poetry
1. Intro
Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
Links
- https://python-poetry.org/
- https://www.infoworld.com/article/3527850/how-to-manage-python-projects-with-poetry.html
Install on OpenBSD
Wanna Install on OpenBSD ?
# get root
doas su -
Install as Root
# Install Poetry
pip3 install --user poetry
# on error PEP 668:
#pip3 install --user poetry --break-system-packages
# Update Poetry
pip3 install poetry -U
# Update Profile
cat << EOF >> ~/.profile
# Poetry, added $(date)
export PATH=\$PATH:/root/.local/bin
EOF
. ~/.profile
Install as User poetry
# Update Poetry
pip3 install poetry -U
# Update Profile
cat << EOF >> ~/.profile
# Poetry, added $(date)
export PATH=\$PATH:~/.local/bin
EOF
. ~/.profile
Install on Debian
Run as User or Root