diff --git a/README.md b/README.md index 9f63dc0..cbe763e 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,16 @@ On Windows, run it via the command prompt (Start ‣ Accessories): Alternatively, running `odpdown` directly from the git checkout is also possible, provided you've installed the prerequisites (most -significantly mistune, lpod, pygments and pillow) manually. +significantly mistune, lpod, pygments, lxml and pillow) manually. ## Tests Run `tox` to run the test suite. + pip install tox + tox -v + + ## Usage usage: odpdown [-h] [--version] [-p PAGE] [-n] [-s HIGHLIGHT_STYLE] diff --git a/requirements.txt b/requirements.txt index 75c88ed..6c6a633 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ cram>=0.6 pygments>=1.6 pillow>=2.0 BeautifulSoup +lxml>=3.4.4 diff --git a/setup.py b/setup.py index 6722778..87d403e 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,7 @@ class install(setuptools.command.install.install): 'lpod-python>=1.1.6', 'pygments>=1.6', 'pillow>=2.0', + 'lxml>=3.4.4', ], classifiers=[ 'Development Status :: 4 - Beta', diff --git a/tox.ini b/tox.ini index 15abc2b..840ddb9 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,6 @@ envlist = py27,flake8 [testenv] whitelist_externals = cram deps = -rrequirements.txt - lxml nose commands = nosetests cram cramtest @@ -13,4 +12,4 @@ commands = nosetests basepython=python deps=flake8 commands= - flake8 odpdown odpdown.py \ No newline at end of file + flake8 odpdown odpdown.py