-
Notifications
You must be signed in to change notification settings - Fork 10
Building
This page has detailed instructions on how to compile, build, and run PyCut. This could be for either a personal device or for an XO laptop. If you are looking for a pre-built version of the game to use on an XO laptop, please refer to activities.sugarlabs.org.
PyCut is dependent on the Pygame package. You can install the package in the following ways.
Most XOs are based off an older version of Fedora. If you are using an XO, this command should work for you in a terminal.
$ sudo yum install pygame
$ sudo dnf install pygame
$ sudo apt-get install python-pygame
Once Pygame is installed, you will be able to build PyCut.
There isn't really a way to "install" PyCut on a Linux workstation because the application is designed to be integrated with the Sugar desktop environment. However, you should be able to run the game by executing the main Python class.
$ ./PyCut.py
Otherwise, if you want to distribute the game onto a regular computer, run this one.
$ ./setup.py dist
$ ./setup.py genpot
$ ./setup.py build
$ ./setup.py install
If you want to distribute the game onto another XO, execute this command.
$ ./setup.py dist_xo
PyCut wiki licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA). PyCut licensed under Mozilla Public License 2.0.