astropy / package-template

Template for packages that use Astropy. Maintainer: @astrofrog
http://docs.astropy.org/projects/package-template/en/latest/
Other
60 stars 62 forks source link

Add instructions to register package on PyPI #17

Closed cdeil closed 10 years ago

cdeil commented 11 years ago

I think astropy affiliated packages should be registered in PyPI or the names might be taken by others at any time.

Do you agree? Can you add this to the list of instructions in the README file?

Looking at http://affiliated.astropy.org/ there's a few existing affiliated packages that aren't registered. Should I file an issue with them?

embray commented 11 years ago

Yes, yes, and yes.

cdeil commented 11 years ago

I've made an issue for specutils, photutils, kcorrect and ginga. Is there someone that has experience with PyPI (not me) that could write up short instructions here how to do it?

keflavich commented 11 years ago

Whose name should we register the packages in? The maintainer? Is there an astropy account we should use for long-term sustainability?

keflavich commented 11 years ago

Here's what I'm doing for astroquery: In the package directory: python setup.py register Then add other maintainers in Roles such as owner.

cdeil commented 11 years ago

Don't you have to register on the PyPI webpage first and then set up ssh keys or something? Maybe a link to another page explaining things would be enough for the README here?

keflavich commented 11 years ago

Yes, you do... unfortunately, I don't remember how to do all that. I know once you register, you can put your username and password in your ~/.pypirc as:

[server-login]
username:my_username
password:my_plaintext_password_so_it_better_not_be_too_secure_especially_since_pypi_has_reset_them_recently
weaverba137 commented 11 years ago

I'm having some problems dealing with PyPI registration, so it would be great if these instructions existed. Until then, does anyone know how to add a PGP key ID to an existing PyPI account? The simple user details form on the website doesn't appear to allow that without also changing the password.

Also, I'm getting timeouts in submitting ssh keys. The key does eventually show up in the user details page. So far, PyPI seems a bit rickety to me.

eteq commented 11 years ago

hmm, I've not used a PGP key on PyPI, nor ssh - I just use the .pypirc method. @iguananaut - do you have any ideas here?

embray commented 11 years ago

The SSH stuff is all pretty new and likely to have issues. I haven't tried it myself yet--I'm still using a pypirc.

You could ask on distutils-sig.

cdeil commented 10 years ago

@astrofrog has started to write this up in #103 ... closing this issue now.