Advertisement
gr4viton

kivy python 3 windows 7 pyinstall

Oct 18th, 2015
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.02 KB | None | 0 0
  1. Python 3.4 (32bit), Windows7 (64bit), Kivi 1.9.0-py3.4-win32-x86
  2. I) As I understood the steps from ['http://kivy.org/docs/installation/installation-windows.html#use-development-kivy']
  3.  
  4. 1. Download and install Kivy for Windows as explained above
  5.   I have the "Kivy-1.9.0-py3.4-win32-x86.exe" extracted in a folder [A]
  6. 2. Go into the portable Kivy directory. This contains the kivy.bat file and the Python, kivy, Mingw folders etc.
  7.   That is folder [A]
  8. 3. Rename the kivy directory to kivy.stable
  9.   There is directory [kivy34] so renamed it as backup so in [A] i have
  10.   [kivy34-original]
  11. 4. Download the latest development version of Kivy from GitHub
  12.   I didn''t used the link from the website : ['https://github.com/kivy/kivy/archive/master.zip']
  13.   I downloaded the zip file from : ['https://github.com/kivy/kivy']
  14.   Extracted to [kivy34_git] directory
  15. 5. Extract the zip into the Kivy portable directory
  16.   Renamed folder [kivy34_git] into [kivy34]
  17. 6. Rename the directory named “kivy-<some hash>” to just “kivy”
  18.   Didn''t do this step as the directory was named [kivy34] in the first place
  19. 7. Launch kivy.bat
  20.   Launched [kivy-3.4.bat] from the [A] directory
  21. 8. Go to the Kivy portable directory/kivy
  22.   Went to the [kivy34] directory in [A]
  23. Type:
  24. > make force
  25.   Typed it and waited
  26. 9. That’s all, you have a latest development version!
  27.   Followed the next steps.
  28.  
  29.  
  30. II) How to create the package from ['http://kivy.org/docs/guide/packaging-windows.html']
  31.  
  32. 1) created new directory in [A] named [TouchApp]
  33. 2) started [kivy-3.4.bat] in it
  34. 3) runned
  35.   $ \TouchApp>pyinstaller --name touchtracer ..\kivy34\examples\demo\touchtracer\main.py
  36. 4) edited the (.spec) file as follows: ['http://pastebin.com/YKYVgLX4']
  37.  
  38. 5) runned in [kivy-3.4.bat] enviroment
  39.   $ >pyinstaller touchtracer.spec
  40.  
  41. 6) The "get_hooks" error is gone.
  42. but the [build/touchtracer/warntouchtracer.txt] has a lot of missing modules: http://pastebin.com/yDEhEVbF
  43.  
  44. 7) When I run the exe file I get the RoundRectangle problem
  45. http://pastebin.com/GgNu5xLM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement