From 72b4f45cbca7c329298d394d7c13e6a9250608ec Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 6 Nov 2020 05:33:14 +0300 Subject: [PATCH] update: lxml >= 4.3.4 ci: add python 3.8 for tests doc: add information about lxml requirements Closes #8 --- .travis.yml | 1 + README.md | 17 ++++++++++++++++- setup.py | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1ccadb..bd5e27f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - '3.6' - '3.7' + - '3.8' install: - pip install -r requirements-test.txt - pip install -e . diff --git a/README.md b/README.md index 05abc16..67944e0 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,24 @@ RSS generator for python ## Installing +genrss using lxml library that required: + +* libxml2 version 2.9.2 or later. +* libxslt version 1.1.27 or later. + +To install the required development packages of these dependencies on Linux systems, +use your distribution specific installation tool, e.g. apt-get on Debian/Ubuntu: + +```bash +sudo apt-get install libxml2-dev libxslt-dev +``` + + Install and update using pip: -``pip install -U genrss`` +```bash +pip install -U genrss +``` ## A Simple Example diff --git a/setup.py b/setup.py index cec549c..f5e2ee7 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ if __name__ == '__main__': license='MIT', packages=['genrss'], install_requires=[ - 'lxml==4.3.4', + 'lxml>=4.3.4', 'pytz==2019.1' ] )