jdxi_editor.project

Project metadata and version information for JD-Xi Editor.

Attributes

__version__

__program__

__project__

__author__

__package_name__

__organization_name__

Functions

package_version([version]) → str

The version for the Linux packages (.deb, .rpm, AppImage names).

Module Contents

jdxi_editor.project.__version__ = '1.0.2'[source]
jdxi_editor.project.__program__ = 'JD-Xi Editor'[source]
jdxi_editor.project.__project__ = 'JD-Xi Editor'[source]
jdxi_editor.project.__author__ = 'JDXi Editor Team'[source]
jdxi_editor.project.__package_name__ = 'jdxi_editor'[source]
jdxi_editor.project.__organization_name__ = 'mabsoft'[source]
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 «~»