This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Ansible Playbook for Ubuntu which installs the Kivy daily PPA | |
| # packages, then fetches and runs the tests. | |
| # | |
| # The PPA is: `ppa:kivy-team/kivy-daily`. The script creates a shallow | |
| # Kivy clone into ~/kivy, so make sure that directory is either already | |
| # a Kivy repository or nonexistant/empty. | |
| # | |
| # Test output is saved separately for py2/py3 as `~/py2-kivy-tests.log` | |
| # and `~/py3-kivy-tests.log`. They contain raw characters, so open |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Kivy development installation into a virtualenv from the master branch | |
| # of the GitHub repository. Meant to be run locally for the currently | |
| # logged in user. | |
| # Fedora, Python 3, Cython 0.28.2, HEAD of master branch. | |
| # | |
| # ~/ | |
| # ├── kivy (kivy_local_repo) | |
| # │ └── ... | |
| # ├── venv (venv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Kivy development installation into a virtualenv from the GitHub master | |
| # repository. Meant to be run locally for the currently logged in user. | |
| # openSUSE, Python 3, Cython 0.28.2, HEAD of master branch. | |
| # | |
| # ~/ | |
| # ├── kivy (kivy_local_repo) | |
| # │ └── ... | |
| # ├── venv (venv) | |
| # : └── ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Kivy asyncio example app. | |
| Kivy needs to run on the main thread and its graphical instructions have to be | |
| called from there. But it's still possible to run an asyncio EventLoop, it | |
| just has to happen on its own, separate thread. | |
| Requires Python 3.5+. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # Kivy development installation into a virtualenv from the GitHub master | |
| # repository. Meant to be run locally for the currently logged in user. | |
| # Manjaro, Python 3, Cython 0.28.3, HEAD of master branch. | |
| # | |
| # ~/ | |
| # ├── kivy (kivy_local_repo) | |
| # │ └── ... | |
| # ├── venv (venv) | |
| # : └── ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from __future__ import print_function, unicode_literals | |
| from libc.stdint cimport uint8_t # note: it's *cimport* not *import* | |
| from random import randint | |
| cpdef char* random_chars(int length=100): | |
| cdef: | |
| char[100] r_chars | |
| uint8_t a_char |
OlderNewer