Output requirements in sorted order

This would mimic the behavior of `pip freeze`
This commit is contained in:
David Poggi
2018-03-01 14:17:19 -05:00
committed by GitHub
parent b0d33c5dfd
commit 6261122db5
+2 -2
View File
@@ -805,12 +805,12 @@ def do_install_dependencies(
# Output only default dependencies
if not dev:
click.echo('\n'.join(d[0] for d in deps_list))
click.echo('\n'.join(d[0] for d in sorted(deps_list)))
sys.exit(0)
# Output only dev dependencies
if dev:
click.echo('\n'.join(d[0] for d in dev_deps_list))
click.echo('\n'.join(d[0] for d in sorted(dev_deps_list)))
sys.exit(0)
procs = []