Skip to content

Commit

Permalink
setup: Ignore lxml on avg installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sils committed Jul 16, 2017
1 parent 4bad88a commit 6539603
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language-check
lxml
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,21 @@ def run(self):
with open('test-requirements.txt') as requirements:
test_required = requirements.read().splitlines()

with open('ignore.txt') as ignore:
ignore_requirements = ignore.read().splitlines()

with open('README.rst') as readme:
long_description = readme.read()

extras_require = {
'alldeps': bear_required,
}

# For the average user we leave out some of the more complicated requirements,
# e.g. language-check (needs java).
required += [req for req in bear_required
if not req.startswith('language-check')]
if not any(req.startswith(ignore)
for ignore in ignore_requirements)]


if __name__ == '__main__':
Expand Down

0 comments on commit 6539603

Please sign in to comment.