Add requirements.txt #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "linnealovespie/requirements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was trying to use the reminder plugin for maubot, only to find that the maubot image was missing some python pacakges. This PR
-adds those packages to requirements.txt,
-creates a volume to persist the package data,
-and adds a helper function to install everything in the requirements file
I could see this potentially having better ways to generalize, but this seems like a good fix for now.
Ah cool you found a way to do this! Thanks.
I have no access to a computer right now, but if there is no hurry I will gladly review it in detail in like 2 weeks.
Some questions which occur directly:
requirements.txt, where does this come from exactly or how is it structured, would be great to indicate this in the docscompose-file?Yay and take your time!
77dc6760c1toc1a963022dCool, I just verified for myself (and learned so) that creating a (named) volume on a exisiting folder will copy the files to the volume. So no concerns anymore :)
Will add a little doc-section and then merge it.
By a seperate compose file, I meant to add a a second
compose.pip.ymlor something to seperate this from default compose, so to create the volume only on installations that really need it. But let's leave it like this and seperate it when the recipe evolves and gets more complicated.thanks a lot, I tried everything as well on a deployment, and can confirm it works like a charm @linnealovespie :)