relenv

relenv

Options

Relenv

usage: relenv [-h] [--version]
              {build,toolchain,create,fetch,check,buildenv,versions} ...

Named Arguments

--version

show program’s version number and exit

Sub-commands

build

Build Relenv Python Environments from source

relenv build [-h] [--arch {x86_64,aarch64}] [--clean] [--python PYTHON]
             [--no-cleanup] [--force-download] [--download-only] [--step STEP]
             [--check-versions] [--no-pretty]
             [--log-level {error,warning,info,debug}]
Named Arguments
--arch

Possible choices: x86_64, aarch64

The host architecture [default: ‘x86_64’]

Default: 'x86_64'

--clean

Clean up before running the build. This option will remove the logs, src, build, and previous tarball.

Default: False

--python

The python version [default: ‘3.10.17’]

Default: '3.10.17'

--no-cleanup

By default the build directory is removed after the build tarball is created. Setting this option will leave the build directory in place.

Default: False

--force-download

Force downloading source tarballs even if they exist

Default: False

--download-only

Stop after downloading source tarballs

Default: False

--step

A step to run alone, can use multiple of this argument. When this option is used to invoke builds, depenencies of the steps are ignored. This option should be used with care, as it’s easy to request a situation that has no chance of being succesful.

Default: []

--check-versions

Check for new version of python and it’s depenencies, then exit.

Default: False

--no-pretty

Log build output to stdout instead of displaying a simplified status.

Default: False

--log-level

Possible choices: error, warning, info, debug

Log level determines how verbose the logs will be.

Default: 'warning'

toolchain

Build Linux Toolchains

relenv toolchain [-h]

create

Create a Relenv environment. This will create a directory of the given name with newly created Relenv environment.

relenv create [-h] [--arch {x86_64,aarch64}] [--python PYTHON] name
Positional Arguments
name

The name of the directory to create

Named Arguments
--arch

Possible choices: x86_64, aarch64

The host architecture [default: ‘x86_64’]

Default: 'x86_64'

--python

The python version [default: ‘3.10.17’]

Default: '3.10.17'

fetch

Fetch relenv builds

relenv fetch [-h] [--arch {x86_64,aarch64}] [--python PYTHON]
Named Arguments
--arch

Possible choices: x86_64, aarch64

Architecture to download. [default: ‘x86_64’]

Default: 'x86_64'

--python

The python version [default: ‘3.10.18’]

Default: '3.10.18'

check

Check relenv integrity

relenv check [-h]

buildenv

Relenv build environment

relenv buildenv [-h] [--json]
Named Arguments
--json

Output json to stdout instead of export statments

Default: False

versions

Versions utility

relenv versions [-h] [-u] [-l] [--version VERSION]
Named Arguments
-u, --update

Update versions

Default: False

-l, --list

List versions

Default: False

--version

The python version [default: ‘3.13’]

Default: '3.13'