Skip to content

Publish to PyPI and GitHub#18

Open
kousu wants to merge 3 commits intoUnrud:masterfrom
kousu:publish
Open

Publish to PyPI and GitHub#18
kousu wants to merge 3 commits intoUnrud:masterfrom
kousu:publish

Conversation

@kousu
Copy link

@kousu kousu commented Apr 24, 2022

As in Unrud/RadicaleIMAP#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
Copy link
Author

kousu commented Jul 4, 2022

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

kousu commented Jul 5, 2022

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

VERSION = "3.1.6"

version=VERSION,

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

web_data = sum((
[os.path.relpath(os.path.join(root, f), package_path)
for f in files if not f.startswith(".") and not f.endswith("~")]
for root, _, files in os.walk(os.path.join(package_path, "web"))), [])

package_data={"radicale_infcloud": web_data},

by auto-detecting all that)

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.

1 participant