Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

martinm82
Copy link

@martinm82 martinm82 commented Aug 6, 2019

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
Copy link
Contributor

lasote commented Aug 23, 2019

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants