Download tools from w64devkit with Python.
Project description
py_win_x86_64_gcc
Download tools from w64devkit with Python.
[!IMPORTANT] This project simply packages
7zr.exeandw64devkit.exewithout any modifications.
7zr.exeis sourced from https://www.7-zip.org/download.htmlw64devkit.exeis sourced from https://github.com/skeeto/w64devkit/releasesThis project is only compatible with 64-bit Windows systems based on the x86_64 architecture.
Installation
pip install py_win_x86_64_gcc
Usage
[!NOTE] An extraction process may be triggered on first use, which will take approximately ten seconds to complete.
from py_win_x86_64_gcc import get_all_tools, get_tool
# Get all the executable filename in w64devkit
print(get_all_tools())
# Get filepath for certain tool (like g++, gcc etc.)
print(get_tool("g++"))
print(get_tool("gcc"))
# Compile something with g++ if you like
import subprocess
ret1 = subprocess.run(
[get_tool("g++"), "test_gcc.cpp", "-o", "test_gcc.exe"])
ret2 = subprocess.run(["test_gcc.exe"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_win_x86_64_gcc-0.1.0.tar.gz.
File metadata
- Download URL: py_win_x86_64_gcc-0.1.0.tar.gz
- Upload date:
- Size: 58.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9c00a351c633468b22f531881ccb04998b517e843674c8143fa4c908acff06
|
|
| MD5 |
3847541dc0a5f8397ca7a77d9752da83
|
|
| BLAKE2b-256 |
5df365e392de53084751f207935d59a296369069604f16de9324b95e20ee2755
|
File details
Details for the file py_win_x86_64_gcc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_win_x86_64_gcc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 58.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.13.12 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76f33edc58dae106cb8a496ba3c02616cfa8fe4744600d62112eaff8556aae08
|
|
| MD5 |
99fa14e63a0c4318a8a80883ed576f8a
|
|
| BLAKE2b-256 |
6b03fcf2ff529ecc77401f268d806ee8f555b7d1fac2699134d7fa70e0d1791b
|