Currently deployment is just a git fetch && git pull && killall python3. This works, but means that any change to dependencies requires additional, potentially risky steps to update the environment properly.
Ideally, I'd like to use something like PyOxidizer which can wrap the whole thing, including dependencies, into a single executable file. If that's not an option, then a script which clears all installed pip packages and then installs from requirements.txt is probably the bare minimum.
Currently deployment is just a
git fetch && git pull && killall python3
. This works, but means that any change to dependencies requires additional, potentially risky steps to update the environment properly.Ideally, I'd like to use something like PyOxidizer which can wrap the whole thing, including dependencies, into a single executable file. If that's not an option, then a script which clears all installed pip packages and then installs from
requirements.txt
is probably the bare minimum.