【问题标题】:What is the python setup() `provides` argument for, using setuptools?使用 setuptools 的 python setup() `provides` 参数是什么?
【发布时间】:2012-02-18 17:34:00
【问题描述】:

当您使用 setuptools 创建包时,您可以:

setup(
...
provides=[a list of stuff]
...
)

它有什么用?

【问题讨论】:

    标签: python setuptools


    【解决方案1】:

    好吧,没关系,我明白了:它可以让您列出嵌入在代码中的外部模块,并在那里为您“提供”。

    【讨论】:

    • 如果您是从阅读文档中了解到的,那么包含适当的链接或参考可能会有所帮助。也许这个? docs.python.org/distutils/…
    猜你喜欢
    • 2017-05-04
    • 2016-09-17
    • 2011-09-30
    • 2015-03-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多