Skip to content

Present supported API #194

@reinout

Description

@reinout

Zest.releaser uses twine as an API when uploading files to pypi. It calls upload() directly. But ece3711, which is in the recent 1.7.x releases, broke the API as there are now two extra mandatory arguments.

So...

  • Is it OK to use twine as an API by importing from it? I'm getting the feeling it is more intended as a stand-alone CLI tool, just like pip. And not like something that is intended to be imported and used as a library.
  • A function with 10 (now 12) mandatory arguments is not really nice as an API. Is there another function that's better to use? Why are it mandatory arguments instead of keyword arguments?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions