Skip to content
Snippets Groups Projects
Commit 6db51879 authored by Marek Chrastina's avatar Marek Chrastina
Browse files

requires.txt is not mandatory for metadata generator

parent c23dfedd
Branches
Tags
1 merge request!5requires.txt is not mandatory for metadata generator
Pipeline #8705 failed
......@@ -223,7 +223,7 @@ def get_metadata(package, version):
if item['packagetype'] == 'sdist':
tmp_file = file_download(item['url'])
write_metadata(tmp_file)
if os.path.isfile('/tmp/requires.txt') and os.path.isfile('/tmp/PKG-INFO'):
if os.path.isfile('/tmp/PKG-INFO'):
metadata = [
line.decode('utf-8') \
for line in wheel.metadata.pkginfo_to_metadata('/tmp', '/tmp/PKG-INFO') \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment