********************** Installing LifeCycles ********************** .. note:: Before installing ``lifecycles``, you need to have ``setuptools`` installed. ============= Quick install ============= Get ``lifecycles`` from the Python Package Index at pypl_. or install it with .. code-block:: python pip install lifecycles and an attempt will be made to find and install an appropriate version that matches your operating system and Python version. Please note that ``lifecycles`` requires Python>=3.9 You can install the development version with .. code-block:: python pip install git+https://github.com/andreafailla/LifeCycles.git ====================== Installing from source ====================== You can install from source by downloading a source archive file (tar.gz or zip) or by checking out the source files from the GitHub source code repository. ``lifecycles`` is a pure Python package; you don’t need a compiler to build or install it. ------------------- Source archive file ------------------- Download the source (tar.gz or zip file) from pypl_ or get the latest development version from GitHub_ Unpack and change directory to the source directory (it should have the files README.txt and setup.py). Run python setup.py install to build and install .. code-block:: python python setup.py install ============ Requirements ============ ------ Python ------ To use ``lifecycles`` you need Python 3.9 or later. The easiest way to get Python and most optional packages is to install the Enthought Python distribution “Canopy” or using Anaconda. There are several other distributions that contain the key packages you need for scientific computing. .. _pypl: https://pypi.python.org/pypi/lifecycles/ .. _GitHub: https://github.com/andreafailla/lifecycles/