Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

WIP: feat: add support for uploading Conan Python package to a PyPI index - #70

Open
martinm82 wants to merge 1 commit into
conan-io:masterfrom
martinm82:feature/pypi-upload
Open

WIP: feat: add support for uploading Conan Python package to a PyPI index#70
martinm82 wants to merge 1 commit into
conan-io:masterfrom
martinm82:feature/pypi-upload

Conversation

@martinm82

@martinm82 martinm82 commented Aug 6, 2019

Copy link
Copy Markdown

We have a Python Conan Package which contains some functionality that is re-used in conan recipies (python_requires) but could as well be re-used in other pure Python modules (pip).

This PR is introducing a new hook (post_upload) that generates a simple setup.py file, creates a source distribution and uploads it to a PyPI index via twine.

Not sure this is something you would be interested in.

In general I am as well interested in getting your feedback.

@martinm82 martinm82 changed the title feat: add support for uploading Conan Python package to a PyPI index WIP: feat: add support for uploading Conan Python package to a PyPI index Aug 6, 2019
@lasote

lasote commented Aug 23, 2019

Copy link
Copy Markdown
Contributor

Hi! I don't really understand the use case, but at first sight, a post upload hook that publishes to pypi sounds a bit weird. How does it know which packages have to be uploaded to pypi? How are you using this generator?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants