| 1 |
wheel convert |
| 2 |
============= |
| 3 |
|
| 4 |
Usage |
| 5 |
----- |
| 6 |
|
| 7 |
:: |
| 8 |
|
| 9 |
wheel convert [options] <egg_file_or_directory> [egg_file_or_directory...] |
| 10 |
|
| 11 |
|
| 12 |
Description |
| 13 |
----------- |
| 14 |
|
| 15 |
Convert one or more eggs (``.egg``; made with ``bdist_egg``) or Windows |
| 16 |
installers (``.exe``; made with ``bdist_wininst``) into wheels. |
| 17 |
|
| 18 |
Egg names must match the standard format: |
| 19 |
|
| 20 |
* ``<project>-<version>-pyX.Y`` for pure Python eggs |
| 21 |
* ``<project>-<version>-pyX.Y-<arch>`` for binary eggs |
| 22 |
|
| 23 |
|
| 24 |
Options |
| 25 |
------- |
| 26 |
|
| 27 |
.. option:: -d, --dest-dir <dir> |
| 28 |
|
| 29 |
Directory to store the generated wheels in (defaults to current directory). |
| 30 |
|
| 31 |
|
| 32 |
Examples |
| 33 |
-------- |
| 34 |
|
| 35 |
* Convert a single egg file:: |
| 36 |
|
| 37 |
$ wheel convert foobar-1.2.3-py2.7.egg |
| 38 |
$ ls *.whl |
| 39 |
foobar-1.2.3-py27-none.whl |
| 40 |
|
| 41 |
* If the egg file name is invalid:: |
| 42 |
|
| 43 |
$ wheel convert pycharm-debug.egg |
| 44 |
"pycharm-debug.egg" is not a valid egg name (must match at least name-version-pyX.Y.egg) |
| 45 |
$ echo $? |
| 46 |
1 |