adamobeng / wddbfs

webdavfs provider which can read the contents of sqlite databases
MIT License
165 stars 3 forks source link

Ship to PyPI #10

Open simonw opened 8 months ago

simonw commented 8 months ago

It would be neat if we could install this with:

pip install wddbfs 

I suggest using "trusted publisher" support - you create a PyPI account and tell it "publish new releases from github.com/adamobeng/wddbfs as wddbfs on PyPI", then add a publish.yml workflow and create releases on GitHub to push packages to PyPI.

I wrote up how to do that here: https://til.simonwillison.net/pypi/pypi-releases-from-github

I have dozens of projects that work like that now. Here's an example: https://github.com/simonw/shot-scraper/blob/f358ebd928cb58f15510f7c7e2cc507409d860a1/.github/workflows/publish.yml#L31-L52