Metadata-Version: 2.1
Name: pytask-environment
Version: 0.0.3
Summary: Detect changes in your pytask environment and abort a project build.
Home-page: https://github.com/pytask-dev/pytask-environment
Author: Tobias Raabe
Author-email: raabe@posteo.de
License: MIT
Project-URL: Documentation, https://github.com/pytask-dev/pytask-environment
Project-URL: Github, https://github.com/pytask-dev/pytask-environment
Project-URL: Tracker, https://github.com/pytask-dev/pytask-environment/issues
Project-URL: Changelog, https://github.com/pytask-dev/pytask-environment/blob/main/CHANGES.rst
Description: .. image:: https://img.shields.io/pypi/v/pytask-environment?color=blue
            :alt: PyPI
            :target: https://pypi.org/project/pytask-environment
        
        .. image:: https://img.shields.io/pypi/pyversions/pytask-environment
            :alt: PyPI - Python Version
            :target: https://pypi.org/project/pytask-environment
        
        .. image:: https://anaconda.org/pytask/pytask-environment/badges/version.svg
            :target: https://anaconda.org/pytask/pytask-environment
        
        .. image:: https://anaconda.org/pytask/pytask-environment/badges/platforms.svg
            :target: https://anaconda.org/pytask/pytask-environment
        
        .. image:: https://github.com/pytask-dev/pytask-environment/workflows/Continuous%20Integration%20Workflow/badge.svg?branch=main
            :target: https://github.com/pytask-dev/pytask/actions?query=branch%3Amain
        
        .. image:: https://img.shields.io/pypi/l/pytask-environment
            :alt: PyPI - License
        
        .. image:: https://codecov.io/gh/pytask-dev/pytask-environment/branch/main/graph/badge.svg
            :target: https://codecov.io/gh/pytask-dev/pytask-environment
        
        .. image:: https://results.pre-commit.ci/badge/github/pytask-dev/pytask-environment/main.svg
            :target: https://results.pre-commit.ci/latest/github/pytask-dev/pytask-environment/main
            :alt: pre-commit.ci status
        
        .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
            :target: https://github.com/psf/black
        
        ------
        
        pytask-environment
        ==================
        
        pytask-environment allows you to detect changes in your pytask environment and abort a
        project build.
        
        
        Installation
        ------------
        
        pytask-environment is available on `PyPI <https://pypi.org/project/pytask-environment>`_
        and `Anaconda.org <https://anaconda.org/pytask/pytask-environment>`_. Install it with
        
        .. code-block:: console
        
            $ pip install pytask-environment
        
            # or
        
            $ conda config --add channels conda-forge --add channels pytask
            $ conda install pytask-environment
        
        
        Usage
        -----
        
        If the user attempts to build the project and the Python version has been cached in the
        database in a previous run, an invocation with a different environment will produce the
        following command line output.
        
        .. code-block:: console
        
            $ pytask build
            Your Python environment seems to have changed. The Python version has
            changed. The path to the Python executable has changed. Do you want
            to continue with the current environment? [y/N]:
        
        
        Future development
        ------------------
        
        The plugin might be further extended to compare the current environment against an
        ``environment.yml`` or a list of packages and versions to ensure that the environment is
        not altered.
        
        
        Changes
        -------
        
        Consult the `release notes <CHANGES.rst>`_ to find out about what is new.
        
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
