Clang-Format is an LLVM-based code formatting tool
Project description
clang-format Python distribution
This project packages the clang-format
utility as a Python package. It allows you to install clang-format
directly from PyPI:
python -m pip install clang-format
This projects intends to release a new PyPI package for each major and minor release of clang-format
.
Building new releases
The clang-format-wheel repository provides the build logic to build and publish binary wheels of the clang-format
utility.
In order to add a new release, the following steps are necessary:
- Edit the version file to reflect the new version.
- Make a GitHub release to trigger the GitHub Actions release workflow. Alternatively, the workflow can be triggered manually.
On manual triggers, the following input variables are available:
use_qemu
: Whether to build targets that require emulation (default:true
)llvm_version
: Override the LLVM version (default:""
)wheel_version
: Override the wheel packaging version (default"0"
)
Acknowledgments
This repository extends the great work of several other projects:
clang-format
itself is provided by the LLVM project under the Apache 2.0 license with exceptions.- The build logic is based on scikit-build which greatly reduces the amount of low level code necessary to package
clang-format
. - The
scikit-build
packaging examples of CMake and Ninja were very helpful in packagingclang-format
. - The CI build process is controlled by cibuildwheel which makes building wheels across a number of platforms a pleasant experience (!)
Special thanks goes to mgevaert who initiated this project and maintained it until 2021.
We are grateful for the generous provisioning with CI resources that GitHub currently offers to Open Source projects.
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 Distributions
Hashes for clang_format-10.0.1-py2.py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3121157d188f21ccd1cd37f91d03150ad98f2fbb197737cf241e1d1b2a99246 |
|
MD5 | 7a9d29e0108fc32517b074aab2f805ec |
|
BLAKE2b-256 | daa52ec8b5103064ebe4001b68ad1bc9abbd3d5e6e87aa96100019ef35875aba |
Hashes for clang_format-10.0.1-py2.py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146161362fbbd4513008043c6e6aba381bf32914f7061b6781276f1d3b16b1cd |
|
MD5 | 4abd62282d3bc850545ddddbf43b0940 |
|
BLAKE2b-256 | b4263545cb69fe1affb2e259222bb11c7775cc8e1cdf707824d3480dbd51b297 |
Hashes for clang_format-10.0.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b50fd165bc735f19a0aefb8eb829abc093d4b9d1102669c9d39c19ba31bef91 |
|
MD5 | c8b955d35bc8a03c3d397d508593ca02 |
|
BLAKE2b-256 | b4c7722b428d302af62afe8b485b229ede1937b83f0a024f0d45980e8f186d21 |
Hashes for clang_format-10.0.1-py2.py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d9b96c63becdbebfe7f9f79911a1187836622de4249d974666a7779468489f2 |
|
MD5 | 965ec57c512ebc7b4ae42a6e7706a8e2 |
|
BLAKE2b-256 | a94dceb0d28ece88c6ff29f8ce776657107642a785f38e5be056fcfa31d0c18a |
Hashes for clang_format-10.0.1-py2.py3-none-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd3f78206fa6e6e9e3a18daaba11d5816a5cb0b7f5858c028fdff7d1d066b24 |
|
MD5 | dc5803318f2b066ba8100eda59ff76e4 |
|
BLAKE2b-256 | 4e7c9bb87b8bae9ac577d1c54d769fca4b48916299b7ab106f11f097b90fd9b3 |