jdxi_editor.project
Project metadata and version information for JD-Xi Editor.
Attributes
Functions
|
The version for the Linux packages (.deb, .rpm, AppImage names). |
Module Contents
- jdxi_editor.project.package_version(version: str = __version__) str[source]
The version for the Linux packages (.deb, .rpm, AppImage names).
dpkg and rpm order «1.0.0rc1» and «1.0.0b2» after «1.0.0»: a release candidate or a beta installed from a package would never be offered the finished release. A «~» sorts before anything, so a pre-release becomes «1.0.0~rc1», «1.0.0~b2», «1.0.0~dev3»; a final version stays as it is.
- Parameters:
version – a PEP 440 version (default: this one)
- Returns:
str the same version, pre-releases with «~»