At last, I solve the build error.
These are what I do:
1.Fix the import : Remove "import Queue"
2.Fix thread model of UI: Add an annotation "@call_on_qt_thread" to the function. Maybe this method "model.setItemData" can only call from MainThead
from cura.Utils.Threading import call_on_qt_thread
These are what I do, but maybe not with regard to the build error:
1.Rename the package from "FlyingBearPlugin" to "FlyingBearIntegration"
2.Remove " .gitignore" from the zip file
3.Remove my custom stage, and create an "Extension" to open a new window.