brousch / kivy-installer Goto Github PK
View Code? Open in Web Editor NEWScripts and tools for easily installing Kivy
Scripts and tools for easily installing Kivy
BRousch's Kivy Installers Scripts to simplify the installation of Kivy and Buildozer Currently Supports: * Ubuntu 12.04 * Ubuntu 14.04 To Install Kivy: 1. Find the right subfolder for your distro and Python version. 2. Run the kivy_sysprep.sh script time. 3. Go to your project dir (or wherever you want the virtualenv). 4. Run the kivy_venv_stable.sh script for your distro and Python using a relative or absolute path. Example run for kivy_sysprep: * I'm running Ubuntu 12.04 * kivy-installer is located at ~/kivy-installer * I want to use Kivy Stable version * I want to use Python2.7 * `cd ~` * `~/kivy-installer/ubuntu/1204/python27/kivy_sysprep.sh` * Now my system is ready to create virtualenvs for Kivy Stable on Python 2.7! Example run for venv: * My project is located at ~/myproj * `cd ~/myproj` * `~/kivy-installer/ubuntu/1204/python27/kivy_venv_stable.sh` * Now I have a virtualenv at ~/myproj/venv which is ready to run Kivy! Notes on kivy_sysprep: * Run this once to prepare your system for Kivy with specified Python version. * You can run it again later to bring your dependencies back up to date. * It installs: * Kivy's and PyGame's system dependencies * Current Cython and NumPy via system-wide pip * System-wide PyGame from its Mercurial repository * On Python 2.7 it also installs OpenJDK 7 so you're ready to create Kivy apps for Android. Notes on kivy_venv_stable: * Run this script to create a Kivy virtualenv for each of your projects. * This script installs the current stable version of Kivy from PyPI. * For Python 2.7, it creates a virtualenv with --system-site-packages enabled, and Kivy, Plyer, Pygments, and Docutils installed. * For Python 3.3 it creates a virtualenv with --system-site-packages enabled, and Kivy, Plyer, Pygments, and Docutils installed. To Install Buildozer: 1. Find the right subfolder for your distro and Python version. 2. Run the buildozer_only.sh script.
Currently, the installer assumes the user has hg
installed on his laptop. This isn't always the case. Please check whether mercurial
is installed before running the script, or add it as a dependancy.
https://github.com/brousch/kivy-installer/blob/master/ubuntu/1204/python27/buildozer_only.sh#L9
I believe it should be:
rm -f
instead of just:
rm
Hello, thank you for this project, it certainly looks very interesting.
When running kivy_sysprep.sh
, I'm running into an error:
(...)
Requirement already up-to-date: numpy in /usr/local/lib/python2.7/dist-packages
destination directory: pygame
requesting all changes
adding changesets
adding manifests
adding file changes
added 3405 changesets with 14829 changes to 1790 files (+14 heads)
updating to branch default
673 files updated, 0 files merged, 0 files removed, 0 files unresolved
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...
Hunting dependencies...
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
WARNING: "sdl-config" failed!
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
WARNING: "smpeg-config" failed!
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.
WARNING, No "Setup" File Exists, Running "config.py"
Using UNIX configuration...
Hunting dependencies...
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
sh: 1: sdl-config: not found
WARNING: "sdl-config" failed!
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
sh: 1: smpeg-config: not found
WARNING: "smpeg-config" failed!
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
sh: 1: freetype-config: not found
WARNING: "freetype-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.