Pixi support for python ezpyz apps #28
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for running Python apps using Pixi, a package manager, and updates configuration and defaults to facilitate this integration. The main changes include adding a new directory for EzPyzApps, updating module defaults, and modifying the Python app runner logic to optionally use Pixi instead of Conda.
Pixi integration and Python app execution:
run_PyAppinglobal_variables.rbto support running Python apps via Pixi whenpixi_enabledis true, constructing the command withpixi runand using the newezpyz_dirconfiguration. The method now accepts apixi_enabledparameter to choose between Pixi and Conda environments.commandsmethod inEzPyzExampleApp.rbto callrun_PyAppwithpixi_enabled: trueinstead of using a Conda environment, enabling Pixi-based execution for this example app.Configuration and default values:
config.ezpyz_dirto the production environment configuration, specifying the location of EzPyzApps for use with Pixi.EzPyzExampleApp.rbto includeTools/seqtkandDev/pixi, reflecting the new Pixi integration.