|
1 |
| -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
2 |
| -READ THIS FIRST |
3 |
| -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
4 |
| -
|
5 |
| -This version of Kivy is a portable win32 version, 32 bits. (it work also for |
6 |
| -64 bits Windows.) This means everything you need to run kivy (including |
7 |
| -python and all other dependencies etc) are included. |
8 |
| -
|
9 |
| -This README only addresses the things specific to the portable version of kivy. |
10 |
| -For general information on how to get started, where to find the documentation |
11 |
| -and configuration see the README file in the kivy directory about Kivy. |
12 |
| -
|
13 |
| -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
14 |
| -
|
15 |
| -
|
16 |
| -Running portable Kivy |
17 |
| -===================== |
18 |
| -
|
19 |
| -The same directory that has this README file in it, contains a file called kivy.bat |
20 |
| -running this kivy.bat file will set up the environment for kivy and starts the |
21 |
| -python interpreter with any arguments you passed |
22 |
| -
|
23 |
| -Example |
24 |
| -~~~~~~~ |
25 |
| -
|
26 |
| -If you open a command line and go to the directory (or add it to your PATH) |
27 |
| -You can run the following: |
28 |
| -
|
29 |
| -kivy test.py -w <-- will run test.py as a python script with kivy ready to use |
30 |
| -
|
31 |
| -
|
32 |
| -Run a Kivy application without going to the command line |
33 |
| -======================================================== |
34 |
| -
|
35 |
| -Two options : |
36 |
| -
|
37 |
| -1. You can drag your python script on top the kivy.bat file and it will launch |
38 |
| -
|
39 |
| -2. If you right click on your python script (.py ending or whatever you named it), |
40 |
| -you can select properties and select an application to open this type of file with. |
41 |
| -Navigate to the folder that includes this README and select the kivy.bat file. |
42 |
| -Now all you have to do is double click (check do this always for this file type |
43 |
| -to make this the default) |
44 |
| -
|
45 |
| -
|
46 |
| -If you already have Python installed |
47 |
| -==================================== |
48 |
| -
|
49 |
| -The portable Kivy version shouldn't cause any conflicts and cooperate fairly well |
50 |
| -(at least if it's Python 2.6, otherwise some modules might cause problems if there |
51 |
| -is entries on PYTHONPATH) |
52 |
| -
|
53 |
| -
|
54 |
| -Install Kivy as a standard python module |
55 |
| -======================================== |
56 |
| -
|
57 |
| -Please refer to the install instructions in the complete README : |
58 |
| -* Inside the kivy folder inside this one |
59 |
| -* Kivy documentation at http://kivy.org/docs/ |
60 |
| -
|
61 |
| -
|
62 |
| -Install development environment inside your current shell |
63 |
| -========================================================= |
64 |
| -
|
65 |
| -If you want to develop with Kivy's python, you may just want to load the |
66 |
| -environment, and stay in your console. Inside a git bash / mingsys console, you |
67 |
| -can type : |
68 |
| -
|
69 |
| - source /path/to/kivyenv.sh |
70 |
| -
|
71 |
| -And it will load the whole enviroment of Kivy. This will give you an access to: |
72 |
| -
|
73 |
| - * Python binaries (python, pythonw, easy_install) |
74 |
| - * Cython binaries (cython) |
75 |
| - * Gstreamer binaries (gst-inspect, gst-launch, ...) |
76 |
| - * Pre-configured PYTHONPATH for gst and Kivy |
77 |
| -
|
78 |
| -Please note that if you already have a Python installed on your system, it will be |
79 |
| -not used. |
| 1 | +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 2 | +READ THIS FIRST |
| 3 | +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 4 | + |
| 5 | +This version of Kivy is a portable win32 version, 32 bits. (it work also for |
| 6 | +64 bits Windows.) This means everything you need to run kivy (including |
| 7 | +python and all other dependencies etc) are included. |
| 8 | + |
| 9 | +This README only addresses the things specific to the portable version of kivy. |
| 10 | +For general information on how to get started, where to find the documentation |
| 11 | +and configuration see the README file in the kivy directory about Kivy. |
| 12 | + |
| 13 | +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 14 | + |
| 15 | + |
| 16 | +Running portable Kivy |
| 17 | +===================== |
| 18 | + |
| 19 | +The same directory that has this README file in it, contains a file called kivy.bat |
| 20 | +running this kivy.bat file will set up the environment for kivy and starts the |
| 21 | +python interpreter with any arguments you passed |
| 22 | + |
| 23 | +Example |
| 24 | +~~~~~~~ |
| 25 | + |
| 26 | +If you open a command line and go to the directory (or add it to your PATH) |
| 27 | +You can run the following: |
| 28 | + |
| 29 | +kivy test.py -w <-- will run test.py as a python script with kivy ready to use |
| 30 | + |
| 31 | + |
| 32 | +Run a Kivy application without going to the command line |
| 33 | +======================================================== |
| 34 | + |
| 35 | +Two options : |
| 36 | + |
| 37 | +1. You can drag your python script on top the kivy.bat file and it will launch |
| 38 | + |
| 39 | +2. If you right click on your python script (.py ending or whatever you named it), |
| 40 | +you can select properties and select an application to open this type of file with. |
| 41 | +Navigate to the folder that includes this README and select the kivy.bat file. |
| 42 | +Now all you have to do is double click (check do this always for this file type |
| 43 | +to make this the default) |
| 44 | + |
| 45 | + |
| 46 | +If you already have Python installed |
| 47 | +==================================== |
| 48 | + |
| 49 | +The portable Kivy version shouldn't cause any conflicts and cooperate fairly well |
| 50 | +(at least if it's Python 2.6, otherwise some modules might cause problems if there |
| 51 | +is entries on PYTHONPATH) |
| 52 | + |
| 53 | + |
| 54 | +Install Kivy as a standard python module |
| 55 | +======================================== |
| 56 | + |
| 57 | +Please refer to the install instructions in the complete README : |
| 58 | +* Inside the kivy folder inside this one |
| 59 | +* Kivy documentation at http://kivy.org/docs/ |
| 60 | + |
| 61 | + |
| 62 | +Install development environment inside your current shell |
| 63 | +========================================================= |
| 64 | + |
| 65 | +If you want to develop with Kivy's python, you may just want to load the |
| 66 | +environment, and stay in your console. Inside a git bash / mingsys console, you |
| 67 | +can type : |
| 68 | + |
| 69 | + source /path/to/kivyenv.sh |
| 70 | + |
| 71 | +And it will load the whole enviroment of Kivy. This will give you an access to: |
| 72 | + |
| 73 | + * Python binaries (python, pythonw, easy_install) |
| 74 | + * Cython binaries (cython) |
| 75 | + * Gstreamer binaries (gst-inspect, gst-launch, ...) |
| 76 | + * Pre-configured PYTHONPATH for gst and Kivy |
| 77 | + |
| 78 | +Please note that if you already have a Python installed on your system, it will be |
| 79 | +not used. |
0 commit comments