Commit 6db51879 authored by Marek Chrastina's avatar Marek Chrastina

requires.txt is not mandatory for metadata generator

parent c23dfedd
Pipeline #8705 failed with stages
in 4 minutes and 25 seconds
......@@ -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') \
......
Markdown is supported
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