Each Python application requires the following files:
Desktop file -- Describes the application to the UME Desktop. The presence of this file in the right location informs the Desktop that the application exists and provides information necessary to display it in a menu and launch it.
Executable file -- The file the Desktop runs to execute the application. For Python applications, this is a shell script that launches the Python interpreter and is passed the application's main Python file.
Main Python code file -- The main python file for the application
Additional optional files may include the following:
Additional Python or other application-specific files
Glade user interface file(s) -- The XML file(s) produced with Glade and imported into Python that describes the application's user interface objects
Icon -- The icon displayed in menus to represent the application before it is launched.
Before taking a closer look at these files, let's take note of an application's dedicated "application directory."