[Dev Log] Python Kivy: Part 1

I am trying to get a hang of Kivy, the cross platform Python UI kit. It looks stable and there are some really good examples out there. The good thing about this particular project is that when they say crossplatform, they mean cross platform. That's got me real excited.

I can create apps on my linux machine and deploy them on Android. That's the part I am psyched about. So let me keep a track of what needs to be done. It's generally a good idea to log your progress :).

Okay so my distro is Ubuntu 14.04 and here's what I did to install kivy:

$ sudo add-apt-repository ppa:kivy-team/kivy && sudo apt-get install python-kivy kivy-examples

Yeah, I am a sucker for stable code. There's more info on how to install it on their installation page.

Anyway, so once I installed all of that I copied the examples into /usr/share/kivy-examples by doing this:

$ python -c "import pkg_resources; print(pkg_resources.resource_filename('kivy', '/share/kivy-examples'))"

I then made an alias to the directory, because I was having issues creating a symlink. I am sure symlink can be created using nautilus but I found this to be faster. Anyway, so then I tested the examples. Simply go into the example directory and do

$ python main.py

That's pretty much it for the installation. I have a good feeling about this.