littlewhitecloud / TkTerminal

A terminal emulator widget written in Python using tkinter
MIT License
15 stars 2 forks source link

About upload #23

Closed littlewhitecloud closed 1 year ago

littlewhitecloud commented 1 year ago
WARNING  Error during upload. Retry with the --verbose option for more details. 
ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         The user '***' isn't allowed to upload to project 'tkterm'. See
         https://pypi.org/help/#project-name for more information.

Failed to upload. Maybe our project has the same name.

littlewhitecloud commented 1 year ago

The badest way to solve the problem: rename our project in setup.py

Moosems commented 1 year ago

Yeah, thats a slight issue. tkterminal is also taken so maybe tktermwidget? Its an ugly name for sure but there are not many options.

littlewhitecloud commented 1 year ago

I just change it name to tktermwidget and I test it locally. It shows me that:

C:\Program Files\Python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'

And when I upload:

WARNING  Error during upload. Retry with the --verbose option for more details.
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
         The description failed to render in the default format of reStructuredText. See
         https://pypi.org/help/#description-content-type for more information.

Almost drives me mad.

littlewhitecloud commented 1 year ago

Still failed upload now... pypi github action (v0.0.2 upload)

Moosems commented 1 year ago

The readme option is having an issue, I'll look into it tomorrow.

littlewhitecloud commented 1 year ago

So, what's wrong with the readme option...?

Moosems commented 1 year ago

I'm not sure to be honest.

littlewhitecloud commented 1 year ago

image IDK why it will say:

UserWarning: Unknown distribution option: 'long_description_content_type'
littlewhitecloud commented 1 year ago

found it:

PS C:\Users\Administrator\Downloads\TkTerminal-main\TkTerminal-main> python setup.py sdist
C:\Program Files\Python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
running sdist
running check
warning: check: missing meta-data: if 'author' supplied, 'author_email' should be supplied too

warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list)

warning: sdist: standard file not found: should have one of README, README.txt, README.rst

writing manifest file 'MANIFEST'
creating tktermwidget-0.0.2
creating tktermwidget-0.0.2\tktermwidget
making hard links in tktermwidget-0.0.2...
hard linking setup.py -> tktermwidget-0.0.2
hard linking tktermwidget\__init__.py -> tktermwidget-0.0.2\tktermwidget
hard linking tktermwidget\tkterm.py -> tktermwidget-0.0.2\tktermwidget
Creating tar archive
removing 'tktermwidget-0.0.2' (and everything under it)
PS C:\Users\Administrator\Downloads\TkTerminal-main\TkTerminal-main>
Moosems commented 1 year ago

What is sdist?

littlewhitecloud commented 1 year ago

IDK why when I use bdist_wheel command to setup, it say there is no command named bdist_wheel, so I have to use this.

littlewhitecloud commented 1 year ago

successed now, never mind about it.