Why aren't setup.py metadata used in PyPI?

I had a beta version of my package on PyPi.

Meta information (e.g. homepage, categories, etc.) from setup.py appeared on the PyPi page of the project .

Later I updated the project. The only thing I changed in setup.py is the version number.

Refresh . As always, never trust those who say this. I changed from setuptools to distutils! Programming Cargo Cult - I just copied that I did another project. Unfortunately.

But the next version on the PyPi page does not contain meta information.

I am trying to figure out how I broke it; I believe PyPi prefers to pay taxes, so I'm sure it was me. This time I used Python 2.7.1 on a fairly new installation of Windows (where I used to use Python 2.6.x)

I almost certainly used a different command line to load it. (This time it seemed to me that I needed to install signatures and pgp, which I don’t remember about for the last time).

Where should I see why the meta information in setup.py is no longer loading?

+3
source share
2 answers

Running the following command on your setup.py should fix the problem:

$ python setup.py register

register . (sdist, register, upload). PyPI:

$ python setup.py sdist register upload

- , .

sdist , . , , .zip . bdist, .

( ) . setuptools upload (, myproject-0.0.zip). register. register PKGINFO ( egg_info) PyPI , .

+3

. , ? setup.py distutils setuptools? pydistutils.cfg .pypirc ?

+1

All Articles