From a85efb4b15a736ac48cae9bddcccfa9dae133ead Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Mon, 12 Jun 2017 10:13:57 -0700 Subject: [PATCH] Fix improperly referenced variable in setup.py parsing --- autospec/buildreq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autospec/buildreq.py b/autospec/buildreq.py index c623407..4f16e97 100644 --- a/autospec/buildreq.py +++ b/autospec/buildreq.py @@ -426,9 +426,9 @@ def add_setup_py_requires(filename): for dep in ast.literal_eval(line): print(dep) dep = clean_python_req(dep, False) - add_buildreq(py_deps) + add_buildreq(dep) if req: - add_requires(py_deps) + add_requires(dep) continue # if py_dep_string was set above when a multi-line list was