I'm trying to upload my package to PyPi, but before that I wanted to upload my 
package to TestPyPi.

I'm following https://packaging.python.org/guides/using-testpypi/

I'm issuing this command: `twine upload --repository-url 
https://test.pypi.org/legacy/ dist/*`

Here is the output:

```
Enter your username: sntshkmr60
Enter your password:
Uploading distributions to https://test.pypi.org/
Uploading mysecretpackage-0.0.1a0-py3-none-any.whl
100%|████████████████████████████████████████████████████████████████████████| 
16.7k/16.7k [00:06<00:00, 2.50kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 405 Client Error: Method Not Allowed for url: https://test.pypi.org/
```

Here is the extra output from --verbose flag:

```
Content received from server:
<html>
 <head>
  <title>405 Method Not Allowed</title>
 </head>
 <body>
  <h1>405 Method Not Allowed</h1>
  The method POST is not allowed for this resource. <br/><br/>

 </body>
</html>
HTTPError: 405 Client Error: Method Not Allowed for url: https://test.pypi.org/
```

What am I doing wrong?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to