This is my modification of the original script so you don't need to enable Marker Tracking or define surfaces. You simply need to start the Coordinates Streaming Server in Pupil and run this independent script.
Note: Not using Surfaces and Marker Tracking decreases the accuracy of pointer movement. This won't work well enough because
norm_gaze data is being used instead of your surface gaze data.
$ sudo pip install pymouse $ sudo apt-get install python-xlib