Skip to main content

Create Python virtual environment using MSYS2.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msys2_env-2025.2.9.0.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msys2_env-2025.2.9.0-py3-none-any.whl (2.9 MB view details)

Uploaded Python 3

File details

Details for the file msys2_env-2025.2.9.0.tar.gz.

File metadata

  • Download URL: msys2_env-2025.2.9.0.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for msys2_env-2025.2.9.0.tar.gz
Algorithm Hash digest
SHA256 df9a0ea7537ec7bd2d193429a0810f2ed68971bd40de3d1b7eac796939563ee4
MD5 8c027358f129a2484b589e7e5441bb99
BLAKE2b-256 ebfdd656349845877e6a10099de0243d0e7551ec4a62a9e452ad6c89826b4ccf

See more details on using hashes here.

File details

Details for the file msys2_env-2025.2.9.0-py3-none-any.whl.

File metadata

  • Download URL: msys2_env-2025.2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for msys2_env-2025.2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e49a49484326c5b8d71008375d0c1bb66fc96a0a68c26cb6808e4c5def19012d
MD5 b6c54930f54cf435eadd2519b36417cf
BLAKE2b-256 0b503bb42af58adb797b1091533c2383fb504d15ee8c2d2e827e2b7cf8e98f89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page