python-packaging icon indicating copy to clipboard operation
python-packaging copied to clipboard

Add documentation about .pypirc file

Open ghost opened this issue 9 years ago • 5 comments

The Publishing On PyPI section should explain how repositories are resolved. Without explicitly configuring .pypirc file, the default pypi repository will be resolved as 'https://upload.pypi.org/legacy/', which is obsolete.

The improved content demonstrates a simple .pypirc file with valid pypi and pypitest respositories. It also adds repository flag to package commands (e.g., register, upload) to demonstrate how user can switch between repositories.

ghost avatar Oct 16 '16 04:10 ghost

Sorry for not responding to this sooner. I can't seem to replicate the above issue: that is, using a plain configuration, with or without an existing .pypirc, works just fine. Is that behavior platform or version specific somehow?

storborg avatar Oct 23 '16 19:10 storborg

Oh, no problem. I am very busy at work as well :(

Maybe I try again to confirm that whether it is platform specific or not. Also we may put my change into FAQ in case someone encounter again and have a cross link to that FAQ page by saying in case you encounter this issue please check this. What do you think?


Sent from my Samsung Mobile

On 24 Oct 2016 03:25, "Scott Torborg" [email protected] wrote:

Sorry for not responding to this sooner. I can't seem to replicate the above issue: that is, using a plain configuration, with or without an existing .pypirc, works just fine. Is that behavior platform or version specific somehow?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/storborg/python-packaging/pull/23#issuecomment-255608532, or mute the thread https://github.com/notifications/unsubscribe-auth/ACB5MrDxTELFC4-SFhTtXjDm5-5AK00yks5q27TBgaJpZM4KX4tZ .

ghost avatar Oct 26 '16 15:10 ghost

Yeah, let's investigate a bit more. What platform were you seeing that issue on? I generally use Ubuntu 14.04/16.04 and OS X, and haven't seen that on either.

storborg avatar Oct 27 '16 03:10 storborg

I have tried with latest ubuntu, it works fine. I presume my setup was too old. You can ignore this pull request. Thank you for your time.

ghost avatar Oct 27 '16 13:10 ghost

I will send the details asap.


Sent from my Samsung Mobile

On 27 Oct 2016 11:33, "Scott Torborg" [email protected] wrote:

Yeah, let's investigate a bit more. What platform were you seeing that issue on? I generally use Ubuntu 14.04/16.04 and OS X, and haven't seen that on either.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/storborg/python-packaging/pull/23#issuecomment-256538211, or mute the thread https://github.com/notifications/unsubscribe-auth/ACB5MjNH8quDzbY9wfLqVjZ8vsU2dlDMks5q4BuhgaJpZM4KX4tZ .

ghost avatar Oct 27 '16 15:10 ghost