.. _installation: Installation ============ Usual PIP installation ********************** .. code-block:: bash pip install esgprep PIP installation from GitHub **************************** .. code-block:: bash pip install -e git://github.com/ESGF/esgf-prepare.git@master#egg=esgprep Installation from GitHub ************************ 1. Clone `our GitHub project `_: .. code-block:: bash git clone git://github.com/ESGF/esgf-prepare.git 2. Run the ``setup.py``: .. code-block:: bash cd esgf-prepare python setup.py install 3. The ``esgprep`` command-line is ready. .. warning:: To run ``esgprep`` you have to be logged into a machine which mounts the filesystem hosting the data to publish. Dependencies and requirements ***************************** Linux distribution with Python 2.6+ is required. ``esgprep`` uses the following basic Python libraries. Ensure that your Python environment includes: * `argparse `_ * `collections `_ * `datetime `_ * `ESGConfigParser `_ * `fnmatch `_ * `getpass `_ * `hashlib `_ * `importlib `_ * `logging `_ * `multiprocessing `_ * `os `_ * `pickle `_ * `re `_ * `shutil `_ * `sys `_ * `textwrap `_ * `unittest `_ * `gettext `_ Some required libraries are not included in most Python distributions. Please install them using the usual PIP command: * `fuzzywuzzy `_ * `hurry.filesize `_ * `lockfile `_ * `netCDF4 `_ * `requests `_ * `tqdm `_ * `treelib `_ .. code-block:: bash pip install