Welcome to conda-devenv’s documentation!¶
Overview¶
With conda-devenv
, we help you manage software dependencies across Linux, Windows, and macOS
operating systems using a single conda dependency file environment.devenv.yml
instead of multiple environment.yml
files.
See example below:
name: mylib
dependencies:
- cmake
- eigen
- pip:
- sphinx
- gxx_linux-64=7.3.0 # [linux]
- ccache # [unix]
- clcache # [win]
environment:
CPATH:
- $CONDA_PREFIX/include # [unix]
- $CONDA_PREFIX/Library/include # [win]
LD_LIBRARY_PATH: $CONDA_PREFIX/lib # [unix]
By executing:
conda devenv
in the root of the project directory, an environment.yml
file is produced.
We can now activate the conda environment mylib
as follows:
conda activate mylib
This will not only resolve the dependencies for the current operating system,
but also set environment variables CPATH
and LD_LIBRARY_PATH
to the
list of paths specified in the environment.devenv.yml
file. Note, however,
that LD_LIBRARY_PATH
will only be set in Linux and macOS (Unix) whereas
CPATH
will be set differently in Linux and macOS compared to Windows.
Continue reading to learn more about the full capabilities of conda-devenv
!
Contents:¶
- conda-devenv
- Installation
- Usage
- Contributing
- CHANGELOG
- 3.3.0 (2024-02-21)
- 3.2.1 (2024-01-03)
- 3.2.0 (2023-07-11)
- 3.1.1 (2023-07-04)
- 3.1.0 (2023-06-30)
- 3.0.0 (2023-06-19)
- 2.4.0 (2023-03-29)
- 2.3.0 (2022-03-07)
- 2.2.0 (2022-01-31)
- 2.1.1 (2020-08-13)
- 2.1.0 (2020-06-26)
- 2.0.0 (2020-06-08)
- 1.1.3 (2019-12-26)
- 1.1.2 (2019-05-07)
- 1.1.1 (2019-03-22)
- 1.1.0 (2019-02-14)
- 1.0.4 (2018-09-20)
- 1.0.3 (2018-06-20)
- 1.0.2 (2018-06-07)
- 1.0.1 (2018-06-04)
- 1.0.0 (2017-09-19)
- 0.9.6 (2017-07-24)
- 0.9.5 (2017-04-24)
- 0.9.4 (2017-04-20)
- 0.9.3 (2017-04-10)
- 0.9.2 (2017-03-27)
- 0.9.1 (2017-03-22)
- 0.9.0 (2017-03-17)
- 0.8.1 (2017-03-16)
- 0.8.0 (2017-03-16)