本文整理汇总了Python中setuptools.command.develop.develop.install_for_development方法的典型用法代码示例。如果您正苦于以下问题:Python develop.install_for_development方法的具体用法?Python develop.install_for_development怎么用?Python develop.install_for_development使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类setuptools.command.develop.develop
的用法示例。
在下文中一共展示了develop.install_for_development方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: install_for_development
# 需要导入模块: from setuptools.command.develop import develop [as 别名]
# 或者: from setuptools.command.develop.develop import install_for_development [as 别名]
def install_for_development(self):
# Build sources in-place, too.
self.reinitialize_command('build_src', inplace=1)
# Make sure scripts are built.
self.run_command('build_scripts')
old_develop.install_for_development(self)
示例2: install_for_development
# 需要导入模块: from setuptools.command.develop import develop [as 别名]
# 或者: from setuptools.command.develop.develop import install_for_development [as 别名]
def install_for_development(self):
self.run_command('build_static')
return develop.install_for_development(self)