Core-workflow: publish cherry_picker on PyPI ?

Created on 9 Jun 2017  路  18Comments  路  Source: python/core-workflow

we have a setup.py file, maybe we could use a core dev account on PyPI and publish it.

cherry_picker.py

Most helpful comment

With some help from @brettcannon, cherry-picker is now in PyPI 馃槃
https://pypi.python.org/pypi/cherry-picker

pip install cherry_picker

All 18 comments

@dstufft @ncoghlan there isn't some python-dev account that already exists is there?

Not that I'm aware of, but I've never been involved with python-dev publishing anything to PyPI.

Maybe I'll start by uploading to https://testpypi.python.org/ first 馃槂 and see how that goes

maybe we could start to publish to PyPI ;-) we are contributors/core dev, maybe we could publish officially our tools. I think it's a shame to clone a repository if we want to use a tool.

just pip install core-workflow and we could use the tools.

So a question for @dstufft for the pip developers account on PyPI: do you have issues with people trying to reset the password since the email address seems to be a public group and thus I would assume anyone could take over the account?

@matrixise we probably won't do such a broad project as some tools are specific to core devs and others apply to anyone submitting a PR, core dev or not

@brettcannon It probably makes the most sense to use personal accounts unless you're planning on automating the uploads, then use a python-dev account. In either case, I wouldn't put the password to a public list.

Long term we should have real organization support for PyPI and it could just be owned by an org instead.

I uploaded cherry_picker to testpypi https://testpypi.python.org/pypi/cherry_picker/

:thinking: Do I need to format the readme differently?

@Mariatta You must have a rendering error, try:

$ pip install readme_renderer
$ python setup.py check -rs

That should give you more information.

Thanks! 馃槂 It's rendering better now.

pypi org support would be awesome... but until that happens so long as we have 3+ personal accounts of devs listed as owners that should be sufficient.

I can be listed as one of the collaborators, @Mariatta , if you want.

I can be listed as one of the collaborators, @Mariatta , if you want.

Ok 馃槃 I just don't know how to do it 馃槓 I've never uploaded anything to PyPI.

@Mariatta I've found twine is the easiest to use for uploading to PyPI. Docs are pretty good too.

https://packaging.python.org/tutorials/distributing-packages/ if you need help publishing to PyPI (and it will mirror what @willingc said about using twine). And once you register the project you can to to pypi.python.org and manage who is listed as a collaborator for the project.

With some help from @brettcannon, cherry-picker is now in PyPI 馃槃
https://pypi.python.org/pypi/cherry-picker

pip install cherry_picker

@Mariatta Cool! Do you want to close this issue now?

Thanks @willingc :) I'll get this closed with #130

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brettcannon picture brettcannon  路  11Comments

brettcannon picture brettcannon  路  7Comments

brettcannon picture brettcannon  路  13Comments

Mariatta picture Mariatta  路  6Comments

aeros picture aeros  路  8Comments