What is setup.py?

后端 未结 10 1771
囚心锁ツ
囚心锁ツ 2020-11-22 09:59

Can anyone please explain what setup.py is and how it can be configured or used?

10条回答
  •  星月不相逢
    2020-11-22 10:51

    If you downloaded package that has "setup.py" in root folder, you can install it by running

    python setup.py install
    

    If you are developing a project and are wondering what this file is useful for, check Python documentation on writing the Setup Script

提交回复
热议问题