Skip to content

Publishing a package is hard. New command 'pip publish'? #60

@hickford

Description

@hickford

Even after you've written a setup.py, publishing a package to PyPI is hard. Certainly I found it confusing the first time.

The sequence of steps is complex and made stressful by all the decisions left to the user:

  • Register on PyPI (on the website or with setup.py register?)
  • Login to PyPI (with setup.py register or by writing a .pypirc?)
  • Build distributions (source? egg? windows installers? wheel?)
  • Upload distributions (with setup.py upload or with twine?)

It would be neat to have a single command pip publish analogous to npm publish that did all of this, correctly.

It would build whichever distributions are deemed fashionable (source + wheel). It you weren't logged in it would automatically run the wizard pip register.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions