What is setup.py?

后端 未结 10 1709
囚心锁ツ
囚心锁ツ 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:48

    setup.py is a Python script that is usually shipped with libraries or programs, written in that language. It's purpose is the correct installation of the software.

    Many packages use the distutils framework in conjuction with setup.py.

    http://docs.python.org/distutils/

提交回复
热议问题