https://github.com/fluiddyn/conda-app
Install applications using conda
https://github.com/fluiddyn/conda-app
Last synced: about 1 year ago
JSON representation
Install applications using conda
- Host: GitHub
- URL: https://github.com/fluiddyn/conda-app
- Owner: fluiddyn
- License: bsd-3-clause
- Created: 2020-02-12T11:21:53.000Z (over 6 years ago)
- Default Branch: branch/default
- Last Pushed: 2022-09-27T13:29:50.000Z (over 3 years ago)
- Last Synced: 2024-10-21T15:51:25.249Z (over 1 year ago)
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Conda-app
[![PyPI][pypi-badge]][pypi-link] [![Github Actions Unix][gh-badge-unix]][gh-link-unix]
[![Github Actions Windows][gh-badge-windows]][gh-link-windows]
[![Heptapod CI][heptapod-badge]][heptapod-link]
## Install isolated applications using conda
`conda-app` is a tiny `conda` extension (actually a commandline tool using `conda` or
`mamba`) to install applications in isolated environments. Like
[pipx](https://github.com/pypa/pipx) but with conda environments.
The main advantages are:
- very simple **cross-platform** installation commands for Windows, macOS and Linux (and
different shells, as bash, fish and zsh).
- the applications are installed in **isolated** environments.
- commands provided by the applications are **available system-wide**, i.e. even when the
associated conda environment is not activated.
- Installation from the `conda-forge` channel so there is **no need for compilation**.
### Installation of conda-app
```bash
pip install conda-app
```
### Example of Mercurial
Mercurial and common extensions (`hg-git` and `hg-evolve`) can be installed with:
```bash
conda-app install mercurial
```
Then, in **a new terminal** (on Windows, the "Conda Prompt"), the Mercurial command `hg`
should be available so one can try `hg version -v`.
This should also work:
```raw
$ conda-app list
Installed applications:
['mercurial', 'spyder', 'pandoc']
$ conda-app uninstall pandoc
...
```
[gh-badge-unix]: https://github.com/fluiddyn/conda-app/actions/workflows/unix.yml/badge.svg?branch=branch/default
[gh-badge-windows]: https://github.com/fluiddyn/conda-app/actions/workflows/windows.yml/badge.svg?branch=branch/default
[gh-link-unix]: https://github.com/fluiddyn/conda-app/actions/workflows/unix.yml
[gh-link-windows]: https://github.com/fluiddyn/conda-app/actions/workflows/windows.yml
[heptapod-badge]: https://foss.heptapod.net/fluiddyn/conda-app/badges/branch/default/pipeline.svg
[heptapod-link]: https://foss.heptapod.net/fluiddyn/conda-app/-/pipelines
[pypi-badge]: https://img.shields.io/pypi/v/conda-app.svg
[pypi-link]: https://pypi.python.org/pypi/conda-app/