python - How to fix the issue "PyPI-test not found in .pypic" when submit package to PyPI? -


I followed the guide to submit a package. This is the error given below: Traceback (most recent call final): File "setup.py", in line 27, 'Programming language :: Python', file "/ usr / lib64 / python2 .6 "/distutils/core.py", line 152, setup the dist.run_commands () file "/usr/lib64/python2.6/distutils/dist.py", line 975, run_commands self.run_command (cmd) file "/ Usr / lib64 / python2.6 / distutils / dist.py" in the line 995, run_command cmd_obj.run () file "/usr/lib/python2.6/site-packages/setuptools/command/register.py ", In line 9, run _register.run (self) file" /usr/lib64/python2.6/distutils/command/register.py ", line 33, run self._set_config () File "/usr/lib64/python2.6/distutils/command/register.py", value increase in line 84, _set_config ('% s .pypirc' is not found in% self.reppository) ValueError: PyPI-test My .pyirc file reference is:

 [distutils] # It tells distutils what package indexes you index server = PyPI # Live PyPI PyPI- Test # test can push to PyPI [PyPI] # authentication detai LS for live PEP repository: https://PyPI.pythth.org/PyPI Username: {{username}} password: {{password}} [ POPI-Test] # Authentication details for PPI repository: https: // testPyPI. Python.org/PyPI Username: {{username}}  

My OS and

  CentOS release 6.2 (last)   and Python env 
  Python 2.6.6  . 

What is the reason for this and how it is decided?

Ensure that your .pypirc file is in your / home directory.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -