Skip to content

soda92/msys2_env

Repository files navigation

msys2_env

PyPI - Version

Create python virtual environment using MSYS2.

Install

pip install -U msys2_env
msys2_env --init

usage

msys2_env: create a msys2 env in venv. the name can be specified via --venv [name]. The creation usually takes 3-5 minutes.

provide venv-like directory:

tree directory

together with helper scripts:

  • .venv2/Scripts/Activate.ps1: powershell activation script.
  • pack_install: install msys2 packages.
  • pack_remove: remove msys2 packages.
  • bash: bash launcher.
  • fish: fish launcher.

command line help

msys2_env -h
usage: msys2_env [-h] [--init] [--venv VENV] [--wrapper]

options:
  -h, --help   show this help message and exit
  --init       download and init msys2
  --venv VENV  venv name
  --wrapper    reinstall the shell wrapper

About

Create python virtual environment using MSYS2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published