scottyphillips / pychonet

A simple to use library for interfacing with the ECHONETlite protocol
GNU General Public License v3.0
21 stars 17 forks source link

TODO: Move away from setup.py for building so we can automate deployments from Github to Pypi. #61

Open scottyphillips opened 1 year ago

scottyphillips commented 1 year ago

Ive been using setup.py forever but it might be better to follow the more up to date guide for publishing packages.
https://packaging.python.org/en/latest/tutorials/packaging-projects/

This would require a new metadata layout.

scottyphillips commented 1 year ago

https://stackoverflow.com/questions/72832052/is-there-a-simple-way-to-convert-setup-py-to-pyproject-toml

SeraphicRav commented 1 year ago

What about using Poetry ? Settings are super simple. Setup.py replacement: https://github.com/SeraphicCorp/py-switchbot-api/blob/main/pyproject.toml Github Action: https://github.com/SeraphicCorp/py-switchbot-api/blob/main/.github/workflows/release.yml Pipy settings: https://pypi.org/manage/account/publishing/

scottyphillips commented 1 year ago

That looks very interesting I will take a look thank you!