我最近参加了一门关于Python打包的课程,内容包括setuptools
和setup.py
。然后我去了图书馆的documentation,我发现由于搬到setup.cfg
和其他新的变化,我学到了旧东西:(
除了setuptools
现代化的方式之外,我有兴趣在Python packaging at a glance section中阅读以下内容:
The landscape of Python packaging is shifting and Setuptools has evolved to only provide backend support, no longer being the de-facto packaging tool in the market.
Q:首先,他们所说的后端支持是什么意思?然后,当前的环境是什么样子的,以及(我想是前端,但这又是什么)替代setuptools
的方案是什么
看了一下more我还发现:
Since setuptools no longer serves as the default build tool [...]
但后来谷歌搜索让我找到了Python打包管理局的recommended tools,在那里它说:
- Use setuptools to define projects and create Source Distributions.
- Use the bdist_wheel setuptools extension available from the wheel project to create wheels. This is especially beneficial, if your project contains binary extensions.
Q:这是否意味着景观演变的结果导致了wheel
目前没有回答
相关问题 更多 >
编程相关推荐