Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added release/PluginsPy-0.0.7-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="PluginsPy",
version="0.0.6",
version="0.0.7",
author="zengjf",
author_email="zengjf42@163.com",
description="Plugins Framework",
Expand Down
3 changes: 3 additions & 0 deletions src/PluginsPy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ def PluginsPy(cmd, skipedPlugins=[], pluginsDir="Plugins") :
pluginsList.append(moduleString)

if len(argv) == 0:
# 按字符串排序一下,方便根据查找选择插件
pluginsList.sort()

index = _showPlugins(pluginsList, helpList)
if index >= 0:
print("selected plugin: " + pluginsList[index])
Expand Down