Skip to content

Commit 5768b64

Browse files
committed
Merge pull request #27 from netmarkjp/add_requirements
Add dependency for lxml, seems to be missing from lpod.
2 parents 4876350 + 5f825cb commit 5768b64

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,16 @@ On Windows, run it via the command prompt (Start ‣ Accessories):
3535

3636
Alternatively, running `odpdown` directly from the git checkout is
3737
also possible, provided you've installed the prerequisites (most
38-
significantly mistune, lpod, pygments and pillow) manually.
38+
significantly mistune, lpod, pygments, lxml and pillow) manually.
3939

4040
## Tests
4141

4242
Run `tox` to run the test suite.
4343

44+
pip install tox
45+
tox -v
46+
47+
4448
## Usage
4549

4650
usage: odpdown [-h] [--version] [-p PAGE] [-n] [-s HIGHLIGHT_STYLE]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ cram>=0.6
44
pygments>=1.6
55
pillow>=2.0
66
BeautifulSoup
7+
lxml>=3.4.4

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class install(setuptools.command.install.install):
4646
'lpod-python>=1.1.6',
4747
'pygments>=1.6',
4848
'pillow>=2.0',
49+
'lxml>=3.4.4',
4950
],
5051
classifiers=[
5152
'Development Status :: 4 - Beta',

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ envlist = py27,flake8
44
[testenv]
55
whitelist_externals = cram
66
deps = -rrequirements.txt
7-
lxml
87
nose
98
commands = nosetests
109
cram cramtest
@@ -13,4 +12,4 @@ commands = nosetests
1312
basepython=python
1413
deps=flake8
1514
commands=
16-
flake8 odpdown odpdown.py
15+
flake8 odpdown odpdown.py

0 commit comments

Comments
 (0)