Skip to content

Instantly share code, notes, and snippets.

View Archaeoraptor's full-sized avatar
🍞

Zhixi Archaeoraptor

🍞
View GitHub Profile
@natefoo
natefoo / 00README.md
Last active May 20, 2024 21:55
Linux Distribution Detection

Distribution Detection

I am working on adding support for building and distributing (via PyPI) Python Wheels with C Extensions to the Python wheel and pip packages. The discussion on Distutils-SIG continues, but I believe it is fairly certain that some effort to correctly identify Linux distributions will need to be made. I've begun efforts to add this support to wheel.

How you can help

If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:

  • The contents of /etc/os-release, if it exists