Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

How to set version as datetime in pyproject.toml

$
0
0

Here is the pyproject.toml:

name = "hello_world"version = "1.2.3"

I want to change the version to datetime:

from datetime import datetimeversion = datetime.now().strftime("%Y.%m.%d")

How to set it in the pyproject.toml?


Viewing all articles
Browse latest Browse all 23131

Trending Articles