Using easy_install inside a python script?

后端 未结 5 1845
小蘑菇
小蘑菇 2021-02-07 08:33

easy_install python extension allows to install python eggs from console like:

easy_install py2app

But is it possible to access easy_install fu

5条回答
  •  忘了有多久
    2021-02-07 08:55

    When I look at the setup tools source, it looks like you can try the following.

    from setuptools.command import easy_install
    easy_install.main( ["-U","py2app"] )
    

提交回复
热议问题