Skip to content

Sopel#

Resources#

creating new sopel venv#

These instructions are really only applicable to myself. Referring to these docs for your own use is not advisable (or helpful at all, really).

  1. Install pyenv
  2. Make a folder for the venv
  3. In the folder created above, run: python -m venv .
  4. Run source bin/activate
  5. Install packages with pip:
    Bash
    pip install -U pip
    pip install -U wheel
    pip install -U sopel
    pip install -U sopel-modules.cryptocurrency
    pip install -U sopel-modules.github
    pip install -U sopel-modules.imdb
    pip install -U sopel-modules.sports
    pip install -U sopel-modules.twitter
    pip install -U sopel-modules.urban
    pip install -U sopel-modules.wolfram
    pip install -U sopel-help
    pip install -U spotipy
    pip install -U bleach
    pip install -U yt-dlp
    pip install -U beautifulsoup4
    pip install -U PlexAPI
    pip install -U rule34
    pip install -U requests
    
  6. Make edits to core sopel files if v7.x
  7. Install edited custom sopel-weather

From this point, just copy previous sopel folder into the new venv and should basically be good to go. Adjust services in /usr/lib/systemd/system/ as needed.