Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A wrapper for patchelf

Project Description

patchelf-wrapper is a simple Python module that assists in the installation of the *patchelf* utility. It’s intended for use with PyPI-hosted Python projects that depend on patchelf. If you’re an end-user of patchelf, you should look elsewhere! (Perhaps your OS’s package manager?)

Currently, patchelf-wrapper installs patchelf 0.9.


Ordinarily, you’ll just want to set 'patchelf-wrapper' as one of your requirements (e.g. in If installing directly, you can just use python install or python build as usual; this respects all the usual options, including automatically installing patchelf into the bin dir of a virtualenv if one is active.

In addition, patchelf-wrapper contains the following setup commands beyond the defaults:

  • check_patchelf: Checks if patchelf is already installed on the system
  • fetch_patchelf: Fetches the patchelf tarball from the web
  • build_patchelf: Extract patchelf’s source and build it
  • install_patchelf: Install patchelf to the chosen location


This project is licensed under the BSD 3-clause license. Patchelf itself is licensed under the GPL, version 3.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(4.2 kB) Copy SHA256 Hash SHA256
Source Mar 30, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting