sopel-irc / docker-sopel

:whale: Officially Unofficialâ„¢ Docker container for Sopel, a Python IRC bot
https://hub.docker.com/r/sopelirc/sopel
12 stars 6 forks source link

feat: install request pypi packages (env vars) #19

Closed HumorBaby closed 5 years ago

HumorBaby commented 5 years ago

A user can now set the EXTRA_PYPI_PACKAGES env var (for docker using -e) with a space-separated list of packages they would like to be made available to the bot environment. These packages will be pip install --user -r ... on startup, sequentially (see #18).

The env var can contain any package available from pypi that does not require third-party libraries (e.g., see the libenchant situation with sopel-irc/sopel).