barnybug/cli53

pip3 install cli53 error: metadata-generation-failed

imanassypov opened this issue · 1 comments

Issue type

  • Bug report

cli53 version (cli53 --version)

OS / Platform

Ubuntu 22.04 LTS

Steps to reproduce

pip3 install cli53
Defaulting to user installation because normal site-packages is not writeable
Collecting cli53
  Using cached cli53-0.5.2.tar.gz (20 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-nnhjo0dr/cli53_8627e1eeb55c48e39b0af50b8cd352d7/setup.py", line 5, in <module>
          long_description = file('README.markdown', 'r').read()
      NameError: name 'file' is not defined. Did you mean: 'filter'?
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.