How can I export my project info to PyPI

Asked by Jonathan Lange

In an ideal world, I'd set my Python project up on Launchpad, hit a button called "Export to PyPI", and then I would never ever have to worry about PyPI ever again. Launchpad would register my project and keep the details there in sync with the details that I enter on Launchpad.

I guess the same thing would be true of Freshmeat / CPAN / whatever, but I only really care about PyPI.

What's the best way of managing this with Launchpad as it stands?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

I honestly do not know.

We use RDF for project and person export (there are no links to the person URL).

    https://edge.launchpad.net/tribunal/+rdf
    https://edge.launchpad.net/tribunal/trunk/+rdf
    https://edge.launchpad.net/~jml/+rdf

I expect Launchpad to publish enough information in a standard format so that I can import the project into another site, or use a tool that converts the RDF into either another grammar, or a web submission. This does not appear to be the case. Using PyPI as an example I think the published information is missing:

    Author and Maintainer email addresses
    Version
    License
    Keywords
    Platform
    Download URL

PyPI asks for information like 'requires', 'depends', 'obsoletes' that I do not expect Launchpad to ever support. Regardless of the missing information, someone must merge the information from all three files before considering how to get the information to the 3rd party.

The Launchpad API provides the automation to construct the needed information that launchpad can provide. I believe the missing information can be gathered using the API. Once the information is assembled, the script could perform a web post to PyPI.

Can you help with this problem?

Provide an answer of your own, or ask Jonathan Lange for more information if necessary.

To post a message you must log in.