From a331f58cffb99563e1febed82338b21dfb0b28c8 Mon Sep 17 00:00:00 2001 From: Baruch Odem Date: Thu, 23 Apr 2020 18:50:10 +0300 Subject: [PATCH] pip3 freeze > requirements.txt --- .gitignore | 2 ++ README.md | 8 ++++---- requirements.txt | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e7c450 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.vscode +.venv diff --git a/README.md b/README.md index 018db1d..cea1cf1 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ or daemon to allow bigger downloads. You need Python3 (tested in 3.5). -Install Telethon module (using pip or your OS package system): - pip install --user telethon +Install dependencies by running this command: -Install cryptg to use a C library to speed up downloads (optional) - pip install --user cryptg + pip install -r requirements.txt + +(If you don't want to install `cryptg` and its dependencies, you just need to install `telethon`) Obtain your own api id: https://core.telegram.org/api/obtaining_api_id diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..5f6b6df --- /dev/null +++ b/requirements.txt @@ -0,0 +1,7 @@ +cffi==1.14.0 +cryptg==0.2.post0 +pyaes==1.6.1 +pyasn1==0.4.8 +pycparser==2.20 +rsa==4.0 +Telethon==1.12.0