epcpower / sunspec-demo

MIT License
1 stars 0 forks source link

Switch to setup.cfg #7

Closed altendky closed 3 years ago

altendky commented 3 years ago

https://github.com/epcpower/sunspec-demo/pull/6 could be simpler if we switched over to setup.cfg and used the attr: functionality to grab the package version.

https://github.com/twisted/twisted/blob/7cf6c8bc320ac5fd96b4784f6feb932ea819856d/setup.cfg#L3

version = attr: twisted.__version__

I haven't used it but https://pypi.org/project/setup-py-upgrade/ is a thing if we care to try.