I'm a really newbie at this, so excuse me if I write something stupid :p
Moving on, the only error that appears is this:
Complete output from command python setup.py egg_info:
running egg_info
error: Invalid distribution name or version syntax: toga--0.1
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-klmvtchk-build/
I looked in briefcase files, trying to figure it out where he requires the toga--0.1 but can't find it, to help fixing this.
In the end it claims Installation complete ready to build the apk.
So, I ran the ant debug , 15 seconds later expels the *.apk with 135kb
I installed it on Android, no Bugs, except when I open it.
I says every time Hello World on a black screen, even if I don't used those words in any way (name, vars, config) so must be a default file that compiles...
Where to start to fixing this ?
Some suggestions:
I setup a new instance of Linux in VirtualBox for this, so I start fresh
The pip install toga was ok, but on pip install briefcase crashed with the Exception git not installed ,
and I easily installed git.
But the author intends that this tools should be used by children/newbies in this PyCon presentation, so I think we should create a file(for eack pybee package) like os_requirements.py or os_setup.py or even os_must_have_this_to_run_this_tool.json, and check if the OS requirements are installed (as soon we figure it out what we need in individual platform), for each platform (maybe it seems excessive, but is nice for those that are giving the first steps, and they don't go away to use another tool instead)
for this git thing we can proceed with:
has_git = subprocess.check_output(['git', '--version'])
except FileNotFoundError:
if os.uname()[0] == 'Linux' and 'Ubuntu' in os.uname()[3]:
print ('you need to install git with "sudo apt-get install git"') right ?
or maybe if the git is just to download the file and install it with pip, by simply change to pip install --upgrade git+https://release (it will always download the latest)
but I'm not sure if works with this command,
https://github.com/pybee/briefcase/blob/master/briefcase/app.py#L99
because I don't understand if is looking for toga or something like toga-android but for main packages works...
We could do this for git, JAVA_HOME, javac and so on, because even for me it's not easy to configure OS_dependencies.
Waiting for instructions, maybe I can help with this, with tousands of bugs :p