Is it possible to require PyQt from setuptools setup.py?

前端 未结 4 764
梦如初夏
梦如初夏 2020-12-03 08:13

I\'m building a small app that uses PyQt and tought it\'d be nice to declare that dependency in setup.py.

However, according to this blog (first hit on google for p

4条回答
  •  抹茶落季
    2020-12-03 08:45

    Setuptools >= 38.2.0 now knows how to install wheels. The trivial answer, therefore, is to install a recent version of setuptools and require that your enlightened userbase does so as well. To enforce usage of setuptools >= 38.2.0 at installation time, see this relevant answer elsewhere.

    Since setuptools 38.2.0 was released over a year ago, all prior answers to this question are horrifyingly obsolete, blatantly wrong, and less than useful.

提交回复
热议问题