如何在Buildozer中构建基维和扭曲 [英] How to build kivy and Twisted in Buildozer

查看:78
本文介绍了如何在Buildozer中构建基维和扭曲的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发我的第一个应用程序,并且通过kivy支持功能

I am working on my first app, and I added twisted to the app via the kivy support function kivy.support.install_twisted_reactor. It works well in my development environment, but I can't get my buildozer settings right to get twisted to compile properly with the app.

关于要使buildozer正确编译时必须强制执行哪些最低设置的任何想法?我尝试在需求部分简单地添加"twisted",但是显然这还不够……我可以共享我的代码,但是我几乎没有使用twisted,所以我敢肯定严格限制最小的buildozer是可行的

Any ideas as to which minimum settings are mandatory to get buildozer to compile twisted properly? I tried simply adding "twisted" to the requirements section, but clearly that's not enough... I could share my code, but I am barely using twisted at all, so I'm certain the strict minimum to get twisted with buildozer would work.

推荐答案

我记得您遇到了两年前的同样问题,问题是zope.interface无法正常工作,因为缺少了文件,因此,如果您只是在zope文件夹中创建该文件,则无需安装系统上的依赖项即可工作(在virtualenv中工作).

I remember that you were having the same issue I had like 2 years ago, the problem was that zope.interface did not work because there is missing a __init__.py file, so if you simply create that file inside zope folder, that will work without installing the dependencies on the system (working in a virtualenv).

这篇关于如何在Buildozer中构建基维和扭曲的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆