-1

I ran this command:

twine upload ./*

and this error happened:

Uploading distributions to https://upload.pypi.org/legacy/
ERROR    InvalidDistribution: Unknown distribution format:  
         'dist'

edit: I forgot to run it in the dist folder

RGB_CATT
  • 37
  • 8

1 Answers1

0

Well, what does ./* expand to? Chances are you've built your packages one way or another, and you now have a dist/* directory with the package files, so the correct incantation would be

twine upload dist/*

to upload the one or two files in dist/.

AKX
  • 152,115
  • 15
  • 115
  • 172