Skip to content

lnguyen639/lineupOptimizerGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

KIVY basics:

https://kivy.org/docs/guide/lang.html

=============
Demo
https://www.youtube.com/watch?v=_CAivqEBVno&list=PLkOPRqhj55hOGwfxKhIs0PyKpj-XknUx4&index=6

=============
Mac

virtualenv -p /usr/local/bin/python2.7 virtualenv-pydfs
pip freeze > requirements.txt

brew install python
brew reinstall --build-bottle sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer

pip install Cython==0.26.1
pip install -U kivy==1.10.0
pip install -U pyinstaller==3.3.1
pip install pyenchant==2.0.0
pip install pyobjc==4.1
pip install pydfs-lineup-optimizer==1.1.2

Edit pydfs-lineup-optimizer file for new solver

dependencies are at:
/usr/local/Cellar/sdl2_mixer/2.0.2_3


pyinstaller -y --clean --windowed --name lineupOptGuiMacPkg --exclude-module _tkinter   --exclude-module Tkinter   --exclude-module enchant   --exclude-module twisted ../lineupOptGui/lineupmain.py
git checkout -- .
pyinstaller -y --clean --windowed lineupOptGuiMacPkg.spec

Edit specs:
coll = COLLECT(exe, Tree('../lineupOptGui'),

===============
Windows

python -m pip install --upgrade pip wheel setuptools
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
python -m pip install kivy.deps.gstreamer
pip install kivy
pip install --upgrade pyinstaller
pip install pydfs-lineup-optimizer

Edit pydfs-lineup-optimizer file for new solver

python -m PyInstaller --name lineupOptimizerGuiWinPkg ..\lineupOptimizerGui\lineupmain.py
git checkout -- .
python -m PyInstaller -y --clean --windowed --onefile lineupOptimizerGuiWinPkg.spec

Edit specs:
from kivy.deps import sdl2, glew
               Tree('..\\lineupOptimizerGui'),
               *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],

cbc from https://www.coin-or.org/download/binary/Cbc/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages