-
Travis CI: Some problem with the
Inspector
can cause the tests# 121 test_widget_multipopup
and# 122 test_widget_popup
to hang on Travis CI and in VirtualBox VMs. Manual minimise/maximise/restore/resize fixes it. Current workaround in55200ee
. -
Appveyor: MinGW tests fail due to lack of proper OpenGL support. Potential fix: see how
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 |
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
""" | |
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. | |
# 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 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
--- | |
# 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 App. | |
""" | |
import kivy | |
kivy.require('1.10.0') | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.actionbar import ActionItem |
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 absolute_import, unicode_literals | |
import logging.config | |
class F(logging.Filter): | |
def __init__(self, level): | |
super(F, self).__init__(logging.getLevelName(level)) |
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. | |
# Ubuntu, Python 3, Cython 0.28.2, HEAD of master branch. | |
# | |
# ~/ | |
# ├── kivy (kivy_local_repo) | |
# │ └── ... | |
# ├── venv (venv) | |
# : └── ... |
NewerOlder