我的问题是我不想分发qgis插件的.py文件,我只想分发pyo文件。你知道吗
我想做的是:
Develop a simple plugin and ensure that it works correctly
Generate pyo files of the plugin calling python normally with "-OO -m py_compile" from command line, without qgis
Remove py files
之后,QGis的python解释器无法加载插件。你知道吗
我应该得到'找不到模块..'错误,但我得到: 无法导入模块…'
我认为这意味着QGis可以看到我的pyo文件,但是由于某些原因它无法加载它们。你知道吗
有什么建议吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐