How to use “setup.cfg” instead of setup.py with Python 2.7

前端 未结 3 1846
失恋的感觉
失恋的感觉 2020-12-24 12:14

It seemed to me, that instead of the whole plethora of named keyword-arguments for the distutils.core.setup function, one can use a setup.cfg file

3条回答
  •  轮回少年
    2020-12-24 12:31

    I'm glad to say that since setuptools 30.3.0 (8 Dec 2016) declarative configuration in setup.cfg is available.

    Documentation.

提交回复
热议问题