Why does easy_install extract some python eggs and not others?

前端 未结 2 808
时光取名叫无心
时光取名叫无心 2021-02-07 05:48

Looking in my /usr/local/lib/python.../dist-package directory, I have .egg directories and .egg files.

Why does the installer choose to extra

2条回答
  •  时光取名叫无心
    2021-02-07 06:30

    I can't explain why some eggs are zipped (the files) and some are directories, but I can offer this: if you hate zipped eggs (like I do) put this in the [easy_install] section of your ~/.pydistutils.cfg:

    zip_ok = false
    

提交回复
热议问题