---
name: "poncho_package_create"
section: "1"
platform: "linux"
package: "coop-computing-tools"
version: "1:7.14.5-1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/poncho_package_create"
---

# poncho\_package\_create(1)

command-line utility for creating a Conda virtual environment given a Python dependencies file

## NAME

**poncho\_package\_create** - command-line utility for creating a Conda virtual environment given a Python dependencies file

## SYNOPSIS

```

```

-

  Example Specification: {\
       "conda": {\
           "channels": \[\
               "conda-forge"\
           \],\
           "dependencies": \[\
               "matplotlib=3.7.1=py311h38be061\_0",\
               "numpy=1.24.2=py311h8e6699e\_0",\
               "pip=23.0.1=pyhd8ed1ab\_0",\
               "python=3.11.0=he550d4f\_1\_cpython",\
               {\
                   "pip": \[\
                       "uproot==5.0.5"\
                   \]\
               }\
           \]\
       },

      "git": {\
                   "DATA\_DIR": {\
                           "remote": "http://.../repo.git",\
                   }\
       },

      "http": {\
                   "REFERENCE\_DB": {\
                           "type": "file",\
                           "url": "https://.../example.dat"\
                   },\
                   "TRAINING\_DATASET": {\
                           "type": "tar",\
                           "compression": "gzip",\
                           "url": "http://.../dataset.tar.gz"\
                   }\
       } }

FCponcho\_package\_create \[options\] *\<dependency-file\>* *\<\<output-path\>\>FT*

## DESCRIPTION

**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.*

## EXAMPLE

*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.*

## COPYRIGHT

*The Cooperative Computing Tools are Copyright (C) 2022 The University of Notre Dame.  This software is distributed under the GNU General Public License.  See the file COPYING for details.*
