summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-12 04:10:27 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-12 04:20:25 +0100
commitdee0e9bf6fe906b998731155262c537efaa4792b (patch)
tree4358f285f90ced86dfe8d6e1f330268251f97957 /setup.py
parentf2f572cb660b5c13c7d144124ea8043223d169ec (diff)
downloadbuildstream-dee0e9bf6fe906b998731155262c537efaa4792b.tar.gz
dev-requirements.txt: Remove obsolete comments
This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 700d9df96..f41289f12 100755
--- a/setup.py
+++ b/setup.py
@@ -223,8 +223,7 @@ def get_cmdclass():
#####################################################
setup_requires = set(['pytest-runner'])
with open('dev-requirements.txt') as dev_reqs:
- dev_requires = set([line for line in dev_reqs.read().split('\n')
- if not line.strip().startswith('#')])
+ dev_requires = dev_reqs.read().splitlines()
#####################################################