GiorgosXou / TUIFIManager

A cross-platform terminal-based termux-oriented file manager (and component), meant to be used with a Uni-Curses project or as is.
GNU General Public License v3.0
684 stars 13 forks source link

Installation with pip is giving an error on pyproject.toml: LICENSE not found. #63

Closed tnn4 closed 1 year ago

tnn4 commented 1 year ago

Running both: sudo pip3 install tuifimanager --upgrade pip3 install TUIFIManager --upgrade outputs the same error.

Defaulting to user installation because normal site-packages is not writeable
Collecting TUIFIManager
  Using cached TUIFIManager-2.3.2.tar.gz (41 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      running dist_info
      creating /tmp/pip-modern-metadata-ti7k196i/TUIFIManager.egg-info
      writing manifest file '/tmp/pip-modern-metadata-ti7k196i/TUIFIManager.egg-info/SOURCES.txt'
      listing git files failed - pretending there aren't any
      writing manifest file '/tmp/pip-modern-metadata-ti7k196i/TUIFIManager.egg-info/SOURCES.txt'
      error: [Errno 2] No such file or directory: 'LICENSE'
      [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.

note: This is an issue with the package mentioned above, not pip.

Not sure if its a problem on my end or permission errors because sudo didn't work either. I tried updating my packages, ran pip again and got the same errors.

Platform: Pop!OS 22.04 LTS

GiorgosXou commented 1 year ago

@Sigmanificient

Sigmanificient commented 1 year ago

Liscence file is called LICENSE.md and not LICENSE aaaaaaaaaaaaa it should have failed the CI though 🤔

GiorgosXou commented 1 year ago

It installed fine on my system though lol

Sigmanificient commented 1 year ago

I'll change the noxfile to add classical pip install too

Sigmanificient commented 1 year ago

If you have any issue to install it after the next release, you can reopen this issue. Hopefully everything will work this time ^^