Skip to content

A manager for Python environments and packages managers

License

Notifications You must be signed in to change notification settings

spyder-ide/envs-manager

Repository files navigation

envs-manager

Project information

PyPI - Python Version

PyPI - Version PyPI - Downloads

conda - version conda - Downloads

Build status

Windows status Linux status MacOS status codecov


Table of Contents

Installation

PyPI

pip install envs-manager

Conda

conda install -c conda-forge envs-manager

Development

  • Fork and clone the repo. To clone:
git clone <link to your fork.git>
cd envs-manager
  • Create a Python environment and activate it. For example with conda:
conda env create -n envs-manager --file requirements/environment.yml
conda activate envs-manager
  • Install development version:
pip install -e .
  • Setup pre-commit:
pre-commit install
  • To run the test suite:

You will need to setup the ENV_BACKEND_EXECUTABLE environmental variable in order to use a conda-like manager. This environment variable should point to a conda or mamba executable. For example, if you have micromamba downloaded on Windows you should set ENV_BACKEND_EXECUTABLE=<path to micromamba executable>/micromamba.exe. After that you should be able to run our tests with:

pytest -vv
  • To check the command line options you need to run:
envs-manager --help

License

envs-manager is distributed under the terms of the MIT license.