setupbase.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:jupyterlab_launcher 作者: jupyterlab 项目源码 文件源码
def create_cmdclass(data_dirs=None):
    """Create a command class with the given optional wrappers.

    Parameters
    ----------
    wrappers: list(str), optional
        The cmdclass names to run before running other commands
    data_dirs: list(str), optional.
        The directories containing static data.
    """
    egg = bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled
    cmdclass = dict(
        build_py=build_py,
        sdist=sdist,
        bdist_egg=egg,
        develop=develop
    )
    if bdist_wheel:
        cmdclass['bdist_wheel'] = bdist_wheel
    return cmdclass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号