2014-02-18 2 views

답변

14

대답은 예입니다.
우리는 단지 wheel 패키지를 필요로하고 우리는 심지어 docs에 따라, 우리는 때문에 .whl 파일 .zip 파일의 코드를 실행할 수 있습니다 .zip 파일과 파이썬과 같은 형식이 사실을 (직접 사용할 수 있습니다, 그것은을 설치할 필요가 없습니다 직접) :

[email protected]:~$ python ./wheel-0.22.0-py2.py3-none-any.whl/wheel convert ./my-egg.egg 

감사 폴 무어에 answer을 제공 :

이제
[email protected]:~$ 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 arguments: 
    {keygen,sign,unsign,verify,unpack,install,install-scripts,convert,version,help} 
         commands 
    keygen    Generate signing key 
    sign    Sign wheel 
    unsign    Remove RECORD.jws from a wheel by truncating the zip 
         file. RECORD.jws must be at the end of the archive. 
         The zip file must be an ordinary archive, with the 
         compressed files and the directory in the same order, 
         and without any non-zip content after the truncation 
         point. 
    verify    Verify a wheel. The signature will be verified for 
         internal consistency ONLY and printed. Wheel's own 
         unpack/install commands verify the manifest against 
         the signature and file contents. 
    unpack    Unpack wheel 
    install    Install wheels 
    install-scripts  Install console_scripts 
    convert    Convert egg or wininst to wheel 
    version    Print version and exit 
    help    Show this help 

optional arguments: 
    -h, --help   show this help message and exit 

, 우리가해야 할 일은 변환 할 convert 인수를 사용하고 계란을 전달하는 것입니다 virtualenv의 그룹에서는 #pip irc 채널에 대한 자세한 내용을 제공하기 위해 Ivo에게.

관련 문제