mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
SpiffyTitles: Install with pip (#39)
This commit is contained in:
parent
8a681362f2
commit
4efd5977b8
@ -30,11 +30,8 @@ The ONLY gluten-free plugin for displaying link titles.
|
|||||||
Check out the [available options](#available-options)!
|
Check out the [available options](#available-options)!
|
||||||
|
|
||||||
## Install SpiffyTitles
|
## Install SpiffyTitles
|
||||||
- `git clone https://github.com/oddluck/limnoria-plugins.git`
|
- install pip if you don't have it already (eg. `apt install python3-pip`)
|
||||||
- `cd limnoria-plugins`
|
- `pip3 install --user --upgrade https://github.com/oddluck/limnoria-plugins.git#subdirectory=SpiffyTitles`
|
||||||
- `cp -r SpiffyTitles ~/your_bot_directory/plugins`
|
|
||||||
- `cd ~/your_bot_directory/plugins/SpiffyTitles`
|
|
||||||
- `pip install -r requirements.txt --user --upgrade`
|
|
||||||
|
|
||||||
You should `!unload Web` and any other plugins that show link titles for best results
|
You should `!unload Web` and any other plugins that show link titles for best results
|
||||||
|
|
||||||
|
14
SpiffyTitles/setup.py
Normal file
14
SpiffyTitles/setup.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import os.path
|
||||||
|
|
||||||
|
from supybot.setup import plugin_setup
|
||||||
|
|
||||||
|
REQUIREMENTS_PATH = os.path.join(os.path.dirname(__file__), "requirements.txt")
|
||||||
|
|
||||||
|
with open(REQUIREMENTS_PATH, "rt") as fd:
|
||||||
|
install_requires = fd.read().split()
|
||||||
|
|
||||||
|
plugin_setup(
|
||||||
|
'SpiffyTitles',
|
||||||
|
install_requires=install_requires,
|
||||||
|
)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user