Skip to content

Commit

Permalink
using project_name instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
guyingzhao committed Aug 1, 2019
1 parent cccac3c commit d260263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testbase/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _merge_requirements(self):
if os.path.isfile(req_txt):
with codecs_open(req_txt, 'r', encoding="utf-8") as fd:
for it in pkg_resources.parse_requirements(fd.read()):
reqs_dict[it.name] = str(it)
reqs_dict[it.project_name] = str(it)

elif os.path.isdir(exlib):
for filename in os.listdir(exlib):
Expand Down

0 comments on commit d260263

Please sign in to comment.