Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

How can I add custom requirement to buildozer.spec file

$
0
0

My buildozer.spec file looks like this.

requirements = python3, mysql-connector-python, plyer, android, futures, datetime,kivy, kivymd

I want to use development version of kivymd so I changed that to something like this:

requirements = python3, mysql-connector-python, plyer, android, futures, datetime, https://github.com/kivymd/KivyMD/archive/master.zip

But it doesn't seams to work. It crashes immediately.
I tried also this one:

requirements = python3, mysql-connector-python, plyer, android, futures, datetime, kivy, https://github.com/kivymd/KivyMD/archive/master.zip

but I've got the same result.

What is the correct way to change the requirements?
Or maybe I can download and add it somehow locally?

EDIT:
I've realise that i can use option requirements.source so i did this:

requirements = python3, mysql-connector-python, plyer, android, futures, datetime, kivy, kivymd# (str) Custom source folders for requirements# Sets custom source for any requirements with recipesrequirements.source.kivymd = /home/sylwek/buildozer_Test1/KivyMD-master

But it still doesn't work...


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>