Skip to main content

msys2_wrapper

A Python wrapper for starting msys2 without bat

Prereq

Has installed MSYS2 at disk root (e.g. C:/msys64), or msys2.cmd or msys2_shell.cmd can be found in PATH.

also supports scoop-installed msys2.

In case of multiple MSYS2 detected, it will launch the first found in PATH, and if not found, C:/msys64 was checked, until Z:/msys64.

You can also create a file C:/Users/[your user name]/.config/msys2_wrapper.ini to override the default, with the following contents:

[default]
base = "D:/msys64"

Usage

A console launcher:

msys2c /?
Usage:
    msys2c [options] [login shell parameters]

Options:
    -mingw32 | -mingw64 | -ucrt64 | -clang64 |
    -msys[2] | -clangarm64           Set shell type
    -defterm | -mintty | -conemu     Set terminal type
    -here                            Use current directory as working
                                     directory
    -where DIRECTORY                 Use specified DIRECTORY as working
                                     directory
    -[use-]full-path                 Use full current PATH variable
                                     instead of trimming to minimal
    -no-start                        Do not use "start" command and
                                     return login shell resulting
                                     errorcode as this batch file
                                     resulting errorcode
    -shell SHELL                     Set login shell
    -search PACKAGE                  search pacakge using web browser
    -help | --help | -? | /?         Display this help and exit

Any parameter that cannot be treated as valid option and all
following parameters are passed as login shell command parameters.

A GUI launcher msys2w was provided for launch with default mintty .

Source code

https://github.com/soda92/msys2_wrapper

License

APACHE

Metadata

Release files for msys2-wrapper 2025.3.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for msys2-wrapper 2025.3.5.1
File Size Uploaded Provenance Actions
msys2_wrapper-2025.3.5.1.tar.gz 10.0 kB Without provenance Details for msys2_wrapper-2025.3.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for msys2-wrapper 2025.3.5.1
File Interpreter ABI Platform Actions
msys2_wrapper-2025.3.5.1-py3-none-any.whl Python 3 none any Details for msys2_wrapper-2025.3.5.1-py3-none-any.whl

Total release size: 21.5 kB

Release files / msys2_wrapper-2025.3.5.1.tar.gz

Download URL msys2_wrapper-2025.3.5.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b44da406791797ff8ad250ca8c66e4cb8d91ac4a36eb3d92568f0a32e9193134
BLAKE2b-256 checksum
How to use checksums
ebe32b7cd6f3614986dd743281bd68ba53162455f865579603368618c87373f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / msys2_wrapper-2025.3.5.1-py3-none-any.whl

Download URL msys2_wrapper-2025.3.5.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
317a1c1a5fe1442577f0dcd060ef8208e90b86ce3e3bf5c66a963495410a4286
BLAKE2b-256 checksum
How to use checksums
7372d7ceee8d544af9b42459cc7614e61a1e7d7e220818e7afa352269abb3e56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for msys2-wrapper 2025.3.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page