di / calver

Setuptools extension for CalVer package versions
https://pypi.org/p/calver
Apache License 2.0
16 stars 5 forks source link

Update for pyproject.toml-style #13

Open miketheman opened 11 months ago

miketheman commented 11 months ago

With the uptick in pyproject.toml usage, update library without setup.py implementation.

kjaymiller commented 10 months ago

Just came in after a long conversation with some other maintainers hoping to do some automated calver style without a setup.py

di commented 10 months ago

Unfortunately this library is basically just a setuptools plugin, so it doesn't have much use in a world without setup.py, mainly because PEP 643 says Version cannot be dynamic.

I think my preference would be to make https://pypi.org/project/bump/ take a --calver flag that just sets the version it to the current date, which could be used prior to building a distribution.