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]
[--no-pretty] [--compact-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 (e.g., 3.10, 3.13.7) [default: ‘3.10.19’]
Default:
'3.10.19'- --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:
[]- --no-pretty
Log build output to stdout instead of displaying a simplified status.
Default:
False- --compact-pretty
Use compact UI without progress bars (simpler, less detailed).
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 (e.g., 3.10, 3.13.7) [default: ‘3.10.19’]
Default:
'3.10.19'
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 (e.g., 3.10, 3.13.7) [default: ‘3.10.19’]
Default:
'3.10.19'
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] [--check-deps]
[--update-deps]
Named Arguments¶
- -u, --update
Update versions
Default:
False- -l, --list
List versions
Default:
False- --version
The python version [default: ‘3.13’]
Default:
'3.13'- --check-deps
Check for new dependency versions
Default:
False- --update-deps
Update dependency versions (downloads and computes checksums)
Default:
False