poncho_package_create1
Command-line utility for creating a conda virtual environment given a python dependencies file
Usage
FCponcho_package_create [options]
<dependency-file>
<<output-path>>FT
Overview
poncho_package_create is a simple command-line utility that creates a local Conda environment from an input JSON dependency file. The command creates an environment tarball at output-path that can be sent to and run on different machines with the same architecture.
The FCdependency-fileFT argument is the path (relative or absolute) to the a JSON specification file. The FCoutput-pathFT argument specifies the path for the environment tarball that is created (should usually end in .tar.gz).
Options
-
--conda-executable=<path> -
Location of conda executable to use. If not given, mamba, $CONDA_EXE, conda, and microconda are tried, in that order.
-
--no-microconda -
Do not try to download microconda if a conda executable is not found.
-
-h,--help -
Show the help message.
Exit status
On success, returns zero. On failure, returns non-zero.
Examples
FCponcho_package_create dependencies.json example_venv.tar.gzFT
This will create an example_venv.tar.gz environment tarball within the current working directory, which can then be exported to different machines for execution.