-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 626f4b8
Showing
158 changed files
with
23,794 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: UNMAINTAINED | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**warning** | ||
|
||
Please not that this project is currently unmaintained, as stated in the README, it's unlikely that bug report will trigger any quick fix. If you are interested in maintaining the project, please contact the kivy team using another mean (IRC, mail, kivy-dev user group…). | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
*.pyo | ||
*.pyc | ||
.*.swp | ||
.coverage | ||
.noseids | ||
*.so | ||
*.py# | ||
*~ | ||
*.swp | ||
*.DS_Store | ||
*.kpf | ||
.designer/ | ||
docs/source/_static | ||
docs/source/_templates | ||
docs/build/ | ||
build/ | ||
.idea | ||
|
||
# PyDev | ||
.project | ||
.pydevproject | ||
.settings/ | ||
|
||
# Virtualenv | ||
venv | ||
|
||
# Emacs | ||
.projectile |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7 | ||
- 3.5 | ||
|
||
install: | ||
yes | sudo add-apt-repository ppa:zoogie/sdl2-snapshots; | ||
yes | sudo add-apt-repository ppa:gstreamer-developers/ppa; | ||
sudo apt-get update; | ||
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev; | ||
sudo apt-get install libgstreamer1.0-dev gstreamer1.0-alsa gstreamer1.0-plugins-base; | ||
sudo apt-get install python-dev libsmpeg-dev libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libX11-dev libmtdev-dev; | ||
sudo apt-get install python-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev; | ||
sudo apt-get install xvfb pulseaudio; | ||
pip install --upgrade Cython==0.25.2 pillow nose coveralls; | ||
pip install -r requirements.txt; | ||
garden install xpopup; | ||
|
||
before_script: | ||
export DISPLAY=:99.0; | ||
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX; | ||
export PYTHONPATH=$PYTHONPATH:$(pwd); | ||
mkdir -p ~/.config; | ||
|
||
script: | ||
- make style | ||
- make test | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://kivy.org:5000/travisevent | ||
on_success: always | ||
on_failure: always | ||
on_start: always | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2010-2017 Kivy Team and other contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
PYTHON = python | ||
CHECKSCRIPT = tools/pep8checker/pep8kivy.py | ||
KIVY_DIR = | ||
KIVY_USE_DEFAULTCONFIG = 1 | ||
HOSTPYTHON = $(KIVYIOSROOT)/tmp/Python-$(PYTHON_VERSION)/hostpython | ||
IOSPATH := $(PATH):/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin | ||
NOSETESTS = $(PYTHON) -m nose.core | ||
|
||
hook: | ||
# Install pre-commit git hook to check your changes for styleguide | ||
# consistency. | ||
cp tools/pep8checker/pre-commit.githook .git/hooks/pre-commit | ||
chmod +x .git/hooks/pre-commit | ||
|
||
style: | ||
$(PYTHON) $(CHECKSCRIPT) . | ||
|
||
stylereport: | ||
$(PYTHON) $(CHECKSCRIPT) -html . | ||
|
||
|
||
test: | ||
-rm -rf kivy/tests/build | ||
$(NOSETESTS) tests | ||
|
||
help: | ||
@echo "Please use \`make <target>' where <target> is one of" | ||
@echo " hook add Pep-8 checking as a git precommit hook" | ||
@echo " style to check Python code for style hints." | ||
@echo " style-report make html version of style hints" | ||
@echo " testing make unittest (nosetests)" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
Kivy Designer | ||
============= | ||
|
||
**WARNING:** This project is at an unstable alpha stage and is not yet | ||
suitable for general use. There is no current plan for continuing the | ||
development of Kivy Designer. **The repository has been archived, | ||
please contact us if you intend to maintain the project.** | ||
|
||
Kivy Designer is Kivy's tool for designing graphical user interfaces | ||
(GUIs) from Kivy Widgets. You can compose and customize widgets, and | ||
test them. It is completely written in Python using Kivy. | ||
|
||
[![Build Status](https://travis-ci.org/kivy/kivy-designer.svg?branch=master)](https://travis-ci.org/kivy/kivy-designer) | ||
|
||
Prerequisites | ||
------------- | ||
|
||
- [Kivy >= 1.9.1](http://kivy.org/#download) | ||
- The following Python modules (available via pip): | ||
- [watchdog](https://pythonhosted.org/watchdog/) | ||
- [pygments](http://pygments.org/) | ||
- [docutils](http://docutils.sourceforge.net/) | ||
- [jedi](http://jedi.jedidjah.ch/en/latest/) | ||
- [gitpython](http://gitpython.readthedocs.org) | ||
- [six](https://pythonhosted.org/six/) | ||
- [kivy-garden](http://kivy.org/docs/api-kivy.garden.html) | ||
- The XPopup widget from the [Kivy garden](https://github.com/kivy-garden/garden.xpopup) | ||
|
||
Installation | ||
------------ | ||
|
||
To install the prerequisites, enter a console (on Windows use kivy.bat in the kivy folder): | ||
|
||
pip install -U watchdog pygments docutils jedi gitpython six kivy-garden | ||
|
||
or simple run: | ||
|
||
pip install -Ur requirements.txt | ||
|
||
To install the XPopup enter a console (on Windows use kivy.bat in the kivy folder): | ||
|
||
garden install xpopup | ||
|
||
With the prerequisites installed, you can use the designer: | ||
|
||
git clone http://github.com/kivy/kivy-designer/ | ||
|
||
or download it manually from https://github.com/kivy/kivy-designer/archive/master.zip and extract to | ||
`kivy-designer`, and then run: | ||
|
||
cd kivy-designer | ||
python -m designer | ||
|
||
On OS X you might need to use the `kivy` command instead of `python` if you are using our portable package. | ||
|
||
If you're successful, you'll see something like this: | ||
|
||
![ScreenShot](https://raw.github.com/kivy/kivy-designer/master/kivy_designer.png) | ||
|
||
Support | ||
------- | ||
|
||
If you need assistance, you can ask for help on our mailing list: | ||
|
||
* User Group : https://groups.google.com/group/kivy-users | ||
* Email : [email protected] | ||
|
||
We also have an IRC channel: | ||
|
||
* Server : irc.freenode.net | ||
* Port : 6667, 6697 (SSL only) | ||
* Channel : #kivy | ||
|
||
Contributing | ||
------------ | ||
|
||
We love pull requests and discussing novel ideas. Check out our | ||
[contribution guide](http://kivy.org/docs/contribute.html) and | ||
feel free to improve Kivy Designer. | ||
|
||
The following mailing list and IRC channel are used exclusively for | ||
discussions about developing the Kivy framework and its sister projects: | ||
|
||
* Dev Group : https://groups.google.com/group/kivy-dev | ||
* Email : [email protected] | ||
|
||
IRC channel: | ||
|
||
* Server : irc.freenode.net | ||
* Port : 6667, 6697 (SSL only) | ||
* Channel : #kivy-dev | ||
|
||
License | ||
------- | ||
|
||
Kivy Designer is released under the terms of the MIT License. Please refer to the | ||
LICENSE file. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.1dev' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os.path | ||
|
||
from app import DesignerApp | ||
from utils.utils import get_fs_encoding | ||
from kivy.resources import resource_add_path | ||
|
||
|
||
def main(): | ||
data = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data') | ||
if isinstance(data, bytes): | ||
data = data.decode(get_fs_encoding()) | ||
resource_add_path(data) | ||
DesignerApp().run() | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
Oops, something went wrong.