RadicaleInfCloud icon indicating copy to clipboard operation
RadicaleInfCloud copied to clipboard

Publish to PyPI and GitHub

Open kousu opened this issue 3 years ago • 2 comments

As in https://github.com/Unrud/RadicaleIMAP/pull/8, I'd like to see this on PyPI for better visibility and to make it easier to pull it into my config management system. This script makes it easy and reliable to get releases posted, just by filling out a form on GitHub's UI.

kousu avatar Apr 24 '22 07:04 kousu

Hi there, any thoughts on this?

I just upgraded my server and had to reinstall radicale because it's using python3.9 now, and the reinstallation had to be

pip install radicale
pip install --upgrade https://github.com/Unrud/RadicaleInfCloud/archive/master.tar.gz

It would be nice if it could become just

pip install radicale_infcloud

kousu avatar Jul 04 '22 23:07 kousu

Also, if you are interested in this, you might also consider replacing

https://github.com/Unrud/RadicaleInfCloud/blob/53d3a95af5b58cfa3242cef645f8d40c731a7d95/setup.py#L7

https://github.com/Unrud/RadicaleInfCloud/blob/53d3a95af5b58cfa3242cef645f8d40c731a7d95/setup.py#L17

with setuptools_scm. It makes releasing really smooth, you literally just click "New release" and type in the version you want it's done.

(it also replaces

https://github.com/Unrud/RadicaleInfCloud/blob/53d3a95af5b58cfa3242cef645f8d40c731a7d95/setup.py#L10-L13

https://github.com/Unrud/RadicaleInfCloud/blob/53d3a95af5b58cfa3242cef645f8d40c731a7d95/setup.py#L25

by auto-detecting all that)

kousu avatar Jul 05 '22 00:07 kousu