Installation¶
vexy-glob needs Python 3.8 or newer. The compiled part is a single extension
module, vexy_glob._vexy_glob, built against the stable Python ABI (abi3), so
one wheel per platform covers every supported Python version.
Install from PyPI¶
-
Install the package with
uv:Or with
pip: -
Check that the extension loads:
The command prints the installed version.
-
Check that the
vgcommand is on yourPATH:The command lists Python files in the current directory.
The package depends on fire and rich, which the CLI uses. pip and uv
install them automatically.
Wheels and source builds¶
The release workflow builds wheels for these platforms:
| Platform | Architectures |
|---|---|
| Linux (manylinux) | x86_64, aarch64 |
| macOS | x86_64, arm64 |
| Windows | x64 |
If PyPI has no wheel for your platform, pip downloads the source
distribution and compiles it. That needs a Rust toolchain:
- Install Rust from https://rustup.rs/.
- Run the install command again.
pipcallsmaturin, which runscargo build --releaseand packages the result. The first build downloads and compiles the Rust dependencies, which takes a few minutes.
Install from a Git checkout¶
Prerequisites: Python 3.8 or newer, a Rust toolchain and uv.
-
Clone the repository:
-
Create a virtual environment:
-
Build the extension and install it into the environment in editable mode:
maturin developcompilessrc/*.rs, places the extension next tovexy_glob/__init__.pyand installs the package. Leave out--releasefor a faster, unoptimised debug build. -
Run the tests to confirm the build:
Build a wheel yourself¶
./build.sh package builds the source distribution and one wheel for the
current machine into dist/, then runs twine check on both:
The version in the file names comes from the version field in Cargo.toml.