From 7f3ac6d2739d1b7136e5be90dd5548fb092cc7d0 Mon Sep 17 00:00:00 2001 From: Lionel Dricot Date: Thu, 31 Mar 2022 11:13:11 +0200 Subject: [PATCH] adding pip requirements.txt --- CHANGELOG | 4 +++- README.md | 3 ++- requirements.txt | 8 ++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/CHANGELOG b/CHANGELOG index 0a308be..e3c1d90 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -14,7 +14,9 @@ - Fixed a crash when the cache is already a dir inside a dir. - Fixed a crash when manually entering an unknown gopher URL while offline - Fixed an error with older less version -- Call to shell commands has been refactorised to improve compatibility with python 3.6 +- Fixed bookmarks not being automatically created at first "add" +- Call to shell commands has been refactorised to improve compatibility with python 3.6 (with testing from Pelle Nilsson) +- requirements.txt has been contributed by Toby Kurien. Thanks! ## 1.2 - March 24th 2022 Very experimental release: diff --git a/README.md b/README.md index 64ebee6..cd9ba77 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,8 @@ experience or some other features. Python libraries requests, bs4 and readabilit To avoid using unstable or too recent libraries, the rule of thumb is that a library should be packaged in Debian/Ubuntu. Keep in mind that Offpunk is mainly tested will all libraries installed. If you encounter a crash without one optional dependencies, please report it. Patches and contributions to remove dependencies or support alternatives are highly appreciated. -* [command to install all optional dependencies on Ubuntu/Debian](ubuntu_dependencies.txt) +* [requirements file to install dependencies with pip](requirements.txt) +* [command to install dependencies on Ubuntu/Debian without pip](ubuntu_dependencies.txt) * (please contribute commands for other systems) Run command `version` in offpunk to see if you are missing some dependencies. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ba8298a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +cryptography +requests +feedparser +bs4 +readability-lxml +pillow +setproctitle +timg