git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embedding version in command-line program


In __init__.py, you can parse the toml file, extract the version and
store it in a __version__ variable.