aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel@protonmail.ch>2016-01-05 22:33:22 +0100
committerRahiel Kasim <rahiel@protonmail.ch>2016-01-05 22:33:22 +0100
commit9aacba86e6f8743343c9d29fbcd888278c56287b (patch)
tree6161a4dabfc6176429f698d28d97f13f318a52f7
parentd0ae1c51f6d6048d1291baf6d0fe22da5ab4010c (diff)
put python dependencies in requirements.txt
-rw-r--r--README.md4
-rw-r--r--requirements.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 69976cb..69c977c 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ dependencies on Ubuntu:
sudo apt-get install redis-server git python-pip
git clone https://github.com/rahiel/BismillahBot.git
cd BismillahBot/
-pip install python-telegram-bot redis hiredis ujson
+pip install -r requirements.txt
```
In the same directory you should define a `secret.py` with the token you got
@@ -93,7 +93,7 @@ directory:
```bash
git pull
-pip install -U python-telegram-bot redis hiredis ujson
+pip install -r requirements.txt -U
```
# License
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..00d5c91
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+python-telegram-bot
+redis
+hiredis
+ujson