-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reyuu
committed
Aug 7, 2017
0 parents
commit b582ac5
Showing
14 changed files
with
1,105 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 @@ | ||
![license](http://img.shields.io/badge/license-GPLv3-brightgreen.svg) | ||
# Gestdraw | ||
Basic slideshow program for gesture drawing, packaged into nice executable. | ||
|
||
![image](https://dl.dropboxusercontent.com/s/kjeeoogdczdzvw7/python_2017-08-07_13-54-37.png) | ||
|
||
Shortcuts: | ||
* MOUSE functionality is available | ||
* S to enter settings | ||
* SPACE to pause timer | ||
* LEFT/RIGHT to cycle backwards/forwards | ||
* F5 to hide HUD indefinitly | ||
* ESCAPE to exit | ||
|
||
#### Requirements for python script | ||
* python 3.5+ | ||
* pygame | ||
* ezpygame | ||
* tkinter | ||
* cx_Freeze (for packaging) | ||
|
||
To build executable simply run: | ||
```bash | ||
python setup.py build | ||
``` | ||
|
||
Photo used by [lormet-images](http://lormet-images.deviantart.com/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,23 @@ | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
import os | ||
|
||
PYTHON_INSTALLATION = "%s/" % os.path.split(sys.executable)[0] | ||
os.environ['TCL_LIBRARY'] = "%stcl/tcl8.6" % PYTHON_INSTALLATION | ||
os.environ['TK_LIBRARY'] = "%stcl/tk8.6" % PYTHON_INSTALLATION | ||
# Dependencies are automatically detected, but it might need fine tuning. | ||
#build_exe_options = {"packages": ["os", "sys", "pygame", "ezpygame"], "excludes": ["tkinter"]} no | ||
#build_exe_options = {"packages": ["os", "sys", "pygame", "ezpygame", "tkinter"]} still no | ||
|
||
build_exe_options = {"includes": ["os", "sys", "pygame", "ezpygame", "random"], "include_files":["%sDLLs/tcl86t.dll" % PYTHON_INSTALLATION, "%sDLLs/tk86t.dll" % PYTHON_INSTALLATION], "optimize":2} # aw yis | ||
# GUI applications require a different base on Windows (the default is for a | ||
# console application). | ||
base = None | ||
if sys.platform == "win32": | ||
base = "Win32GUI" | ||
|
||
setup( name = "gestdera", | ||
version = "00001", | ||
description = "Gesture drawing app", | ||
options = {"build_exe": build_exe_options}, | ||
executables = [Executable("main.py", base=base)]) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.