Commit a0ae6634 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Strip requires lines

parent 1497ecdf
......@@ -21,15 +21,15 @@ basedir = op.dirname(__file__)
# Dependencies are listed in requirements.txt
with open(op.join(basedir, 'requirements.txt'), 'rt') as f:
install_requires = f.readlines()
install_requires = [l.strip() for l in f.readlines()]
# Development/test dependencies are listed in requirements-dev.txt
with open(op.join(basedir, 'requirements-dev.txt'), 'rt') as f:
dev_requires = f.readlines()
dev_requires = [l.strip() for l in f.readlines()]
# Optional dependencies are listed in requirements-extra.txt
with open(op.join(basedir, 'requirements-extra.txt'), 'rt') as f:
extra_requires = {'extras' : f.readlines()}
extra_requires = {'extras' : [l.strip() for l in f.readlines()]}
packages = find_packages(
exclude=('doc', 'tests', 'dist', 'build', 'fslpy.egg-info'))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment