periareon / req-compile

Python requirements compilation
MIT License
14 stars 4 forks source link

Passing filename as a keyword arg in setup.py is not directly supported #9

Closed sputt closed 3 years ago

sputt commented 3 years ago
Failed to parse vimbapython
Traceback (most recent call last):
  File ".../lib/python3.7/site-packages/req_compile/metadata/source.py", line 167, in _fetch_from_setup_py
    results = _parse_setup_py(name, setup_file, extractor)
  File ".../lib/python3.7/site-packages/req_compile/metadata/source.py", line 718, in _parse_setup_py
    exec(contents, spy_globals, spy_globals)
  File "<string>", line 43, in <module>
  File "<string>", line 33, in read_file
TypeError: open() missing 1 required positional argument: 'filename'