Skip to content

zhaohuaw/humpty

 
 

Repository files navigation

Humpty - Convert Python wheels to eggs

Latest Version build status

For when you need an .egg but all you have is a .whl.

Description

Humpty is a command-line utility to convert Python binary wheel packages to eggs.

Currently, the tool is in a “works for me” state. (It is not guaranteed to work for you.)

Development takes place on github. The package is installable from PyPI

Synopsis

The humpty "man page":

$ humpty --help
Usage: humpty [OPTIONS] WHEELS...

  Convert wheels to eggs.

Options:
  -d, --dist-dir DIR  Build eggs into <dir>.  Default is <cwd>/dist.
  --help              Show this message and exit.

Suppose you need an egg of a distribution which has only been uploaded to PyPI as a wheel:

$ pip install --download . publicsuffixlist
[...]
  Saved ./publicsuffixlist-0.2.8-py2.py3-none-any.whl
Successfully downloaded publicsuffixlist

$ humpty -dist-dir . publicsuffixlist-0.2.8-py2.py3-none-any.whl
Converting publicsuffixlist-0.2.8-py2.py3-none-any.whl to publicsuffixlist-0.2.8-py2.6.egg

$ easy_install publicsuffixlist-0.2.8-py2.7.egg

References

Authors

Jeff Dairiki

About

Convert Python wheels to eggs python模块格式从 whl转换成egg

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.7%
  • C 3.3%