Skip to content

Code version source


Setting the version is not supported.


The version source plugin name is code.

source = "code"
source = "code"


Option Description
path (required) A relative path to a Python file or extension module that will be loaded
expression A Python expression that when evaluated in the context of the loaded file returns the version. The default expression is simply __version__.
search-paths A list of relative paths to directories that will be prepended to Python's search path

Last update: July 19, 2022