Generating distribution archives#

Distribution packages are archives that are uploaded to the Python Package Index and can be installed by pip.

Steps to generate distribution packages#

  1. To have the web UI bundled, the BUNDLE_WEBUI environment variable must be set:

    $ export BUNDLE_WEBUI=true
    
    $ $env:BUNDLE_WEBUI = 'true'
    
  2. To provide extras, the BUILD_LOCKED_EXTRAS environment variable must be set:

    $ export BUILD_LOCKED_EXTRAS=true
    
    $ $env:BUILD_LOCKED_EXTRAS = 'true'
    

    This environment variable prevents circular dependency resolution. Also see Flexget/Flexget#4190.

  3. Run:

    $ uv build