python - Can I convert an egg to wheel? -


I have python eggs already created / downloaded and I want to convert it into documented wheel format.
How can I do this?

The answer is yes.
We only need the package and according to it, we do not even have to install it, as we can use it directly (due to the fact .whl files . Zip files and run code .zip files as python directly):

  pdobrogost @ host: ~ $ python / Wheel-0.22.0-py2.py3-none-any.whl / wheel-h Usage: wheel [-h] {keygen, sign, unsign, verify, unpack, install, install-scripts, convert, version, help} ... positional logic: {keygen, sign, unsign, verify, unpack, install, install-script, convert, version, help} Generate command keygen key signature signature Unsink the sign grinder Remove RECOR Degrees zip from one wheel Breaking the file. RECORD.jws should be at the end of the collection. The zip file should contain compressed files and directories in the same order, a simple archive, and after the transaction point without any non-zip content. Verify a Wheel Verify signature will only be verified for internal stability and printed. Wheel's own unpack / installation order appears against the signature and file content. Unpack Unlock Wheel Install Install Install Wheels-Script ConsoleScripts Convert Convert Eggs or Wheelest Two Wheel Edition Print Versions and Exits Help Show this help Optional Logic: -h, --help Show this help message and exit  

Now, what we have to do is to use the convert argument and change the egg near it:

  podobrogost @ host: ~ $ Python / Wheel-0.22.0-py2.py3-none-any.whl / wheel Convert ./my-egg.egg  

To provide more information, provide the Virtualization Group and Ivo Thanks to Paul Moore on #pip on irc channel.


Comments