On this page
Plain release target for projects with no build system. Tracks version in a VERSION file and optionally bumps pyproject.toml if present.
#rlsbl.targets.plain
#rlsbl.targets.plain
Plain release target for projects with no build system, using a VERSION file for version tracking with tagging and GitHub Releases only.
#_foreign_manifests
def _foreign_manifests()Every manifest filename that means "a target other than plain owns this".
Derived by unioning every registered target's detection_files with the declared extras, minus plain's own (plain declares none: VERSION is far too generic to auto-detect on).
Imported lazily because the registry instantiates PlainTarget.
#PlainTarget
Release target for projects that have no build system or package registry.
#name
def name(self)#detect
def detect(self, dir_path)#read_version
def read_version(self, dir_path)Read version from the VERSION file.
#write_version
def write_version(self, dir_path, version, ctx)Write the new version to the VERSION file and pyproject.toml atomically.
Returns a list of relative file paths that were modified.
#version_file
def version_file(self, dir_path=None)#template_dir
def template_dir(self)#template_mappings
def template_mappings(self, ctx)#check_project_exists
def check_project_exists(self, dir_path)#template_vars
def template_vars(self, dir_path, ctx)