Skip to main content

A built-package format for Python.

Project description

Wheel

A built-package format for Python.

A wheel is a ZIP-format archive with a specially formatted filename and the .whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format. Many packages will be properly installed with only the “Unpack” step (simply extracting the file onto sys.path), and the unpacked archive preserves enough information to “Spread” (copy data and scripts to their final locations) at any later time.

The wheel project provides a bdist_wheel command for setuptools (requires distribute >= 0.6.28). Wheel files can be installed with a patched pip from https://github.com/dholth/pip.

Why not egg?

Python’s egg format predates the packaging related standards we have today, the most important being PEP 376 “Database of Installed Python Distributions” which specifies the .dist-info directory (instead of .egg-info) and PEP 345 “Metadata for Python Software Packages 1.2” which specifies how to express dependencies (instead of requires.txt in .egg-info).

Wheel implements these things. It also provides a richer file naming convention that communicates the Python implementation and ABI as well as simply the language version used in a particular package.

Unlike .egg, wheel will be a fully-documented standard at the binary level that is truly easy to install even if you do not want to use the reference implementation.

0.7

  • sort .dist-info at end of wheel archive

  • Windows & Python 3 fixes from Paul Moore

  • pep8

  • scripts to convert wininst & egg to wheel

0.6

  • require distribute >= 0.6.28

  • stop using verlib

0.5

  • working pretty well

0.4.2

  • hyphenated name fix

0.4

  • improve test coverage

  • improve Windows compatibility

  • include tox.ini courtesy of Marc Abramowitz

  • draft hmac sha-256 signing function

0.3

  • prototype egg2wheel conversion script

0.2

  • Python 3 compatibility

0.1

  • Initial version

Project details


Release history Release notifications | RSS feed

This version

0.7

Download files

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

Source Distribution

wheel-0.7.tar.gz (21.0 kB view details)

Uploaded Source

File details

Details for the file wheel-0.7.tar.gz.

File metadata

  • Download URL: wheel-0.7.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wheel-0.7.tar.gz
Algorithm Hash digest
SHA256 3bb349bde3db626f4d819ee4a2e9f318cd2f29c61c316d9f04cbed1a1ab3b048
MD5 44b3b994f5f2943d0b63cf7b5149ea26
BLAKE2b-256 1d7949416a92ca1ae8c30f9a489b6349c795794aa209cde2e7d0afd5614cbfa6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page