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?
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...