Python

From ENIGMA
Jump to navigation Jump to search

Python is a lightweight cross-platform interpretted language. Python comes installed by default on Mac and many Linux distros, and is easy to install on other operating systems.

Currently, the ENIGMA project uses Python for a single script, called install.py, included in the Repository serving as the package manager for downloading packages and binaries. This is especially important for a Git-based Installation since binaries are not included in the repository and are distributed separately, so the package manager can be used to quickly and easily obtain the necessary binaries to make ENIGMA runnable.

The decision to use Python is somewhat contraversial, however nobody has come forward yet to create a functional package manager in any other language to contest the current one put forth by User:TGMG.

Install

Python comes installed by default on Mac and many Linux distros.

For linux distros that do not come pre-installed with python, you can usually just point your package manager to the python package.

For Windows and Mac (usually Mac already has Python installed), you can download and install Python from their download package - or if you want to build from source: http://www.python.org/download/

Note that the version (2.X or 3.X) does not matter for our purposes.