Can someone help me out in this.

 

From: Siddiqui, Shahzeb
Sent: Thursday, July 27, 2017 6:29 PM
To: 'docs@python.org'
Subject: trouble uploading package

 

Hello,

 

I am trying to upload a python package for the first time. I am getting some issues. I looked at the documentation, and followed the process. I have created my account, and its verified. The upload is failing. Please advise

 

[siddis14@amrndhl1157 buildtest-framework]$ python setup.py register sdist upload

running register

running egg_info

writing buildtest_framework.egg-info/PKG-INFO

writing top-level names to buildtest_framework.egg-info/top_level.txt

writing dependency_links to buildtest_framework.egg-info/dependency_links.txt

reading manifest file 'buildtest_framework.egg-info/SOURCES.txt'

writing manifest file 'buildtest_framework.egg-info/SOURCES.txt'

running check

We need to know who you are, so please choose either:

1. use your existing login,

2. register as a new user,

3. have the server generate a new password for you (and email it to you), or

4. quit

Your selection [default 1]:

1

Username: shahzeb.siddiqui

Password:

Registering buildtest-framework to https://upload.pypi.org/legacy/

Server response (410): Project pre-registration is no longer required or supported, so continue directly to uploading files.

running sdist

creating buildtest-framework-1.0.1

creating buildtest-framework-1.0.1/buildtest_framework.egg-info

copying files to buildtest-framework-1.0.1...

copying README.rst -> buildtest-framework-1.0.1

copying setup.py -> buildtest-framework-1.0.1

copying buildtest_framework.egg-info/PKG-INFO -> buildtest-framework-1.0.1/buildtest_framework.egg-info

copying buildtest_framework.egg-info/SOURCES.txt -> buildtest-framework-1.0.1/buildtest_framework.egg-info

copying buildtest_framework.egg-info/dependency_links.txt -> buildtest-framework-1.0.1/buildtest_framework.egg-info

copying buildtest_framework.egg-info/not-zip-safe -> buildtest-framework-1.0.1/buildtest_framework.egg-info

copying buildtest_framework.egg-info/top_level.txt -> buildtest-framework-1.0.1/buildtest_framework.egg-info

Writing buildtest-framework-1.0.1/setup.cfg

Creating tar archive

removing 'buildtest-framework-1.0.1' (and everything under it)

running upload

Password:

Submitting dist/buildtest-framework-1.0.1.tar.gz to https://upload.pypi.org/legacy/

Upload failed (403): Invalid or non-existent authentication information.

error: Upload failed (403): Invalid or non-existent authentication information.

 

I have the following file, I didn’t make any changes

 

[siddis14@amrndhl1157 buildtest-framework]$ cat ~/.pypirc

[distutils]

index-servers =

    pypi

 

[pypi]

repository: <repository-url>

username: <username>

password: <password>

 

What is the problem?

 

 

Shahzeb Siddiqui

HPC Linux Engineer

B2220-447.2

Groton, CT