Metadata-Version: 1.1
Name: conda-devenv
Version: 0.9.2
Summary: Work with multiple projects in develop-mode using conda-env
Home-page: https://github.com/ESSS/conda-devenv
Author: ESSS
Author-email: UNKNOWN
License: MIT
Description: ============
        conda-devenv
        ============
        
        .. image:: https://img.shields.io/travis/ESSS/conda-devenv.svg
            :target: https://travis-ci.org/ESSS/conda-devenv
        
        .. image:: https://ci.appveyor.com/api/projects/status/w7kwn4k9gkvi2j63?svg=true
            :target: https://ci.appveyor.com/project/ESSS/conda-devenv
        
        .. image:: https://readthedocs.org/projects/conda-devenv/badge/?version=latest
            :target: https://conda-devenv.readthedocs.io/en/latest/?badge=latest
            :alt: Documentation Status
        
        .. image:: https://anaconda.org/conda-forge/conda-devenv/badges/version.svg
            :target: https://anaconda.org/conda-forge/conda-devenv
        
        .. image:: https://anaconda.org/conda-forge/conda-devenv/badges/downloads.svg
            :target: https://anaconda.org/conda-forge/conda-devenv
        
        .. image:: https://anaconda.org/conda-forge/conda-devenv/badges/installer/conda.svg
            :target: https://anaconda.org/conda-forge/conda-devenv
        
        
        ``conda-devenv`` is ``conda`` extension to work with multiple projects in development mode.
        
        It works by processing ``environment.devenv.yml`` files, similar to how ``conda env``
        processes ``environment.yml`` files, with this additional features:
        
        * `Jinja 2 <http://jinja.pocoo.org/docs/2.9/>`_ support: gives more flexibility to the environment
          definition, for example making it simple to conditionally add dependencies based on platform.
        
        * ``include`` other ``environment.devenv.yml`` files: this allows you to easily work in several
          dependent projects at the same time, managing a single ``conda`` environment with your dependencies.
        
        * **Environment variables**: you can define a ``environment:`` section with environment variables
          that should be defined when the environment is activated.
        
        Here's a simple ``environment.devenv.yml`` file:
        
        .. code-block:: yaml
        
            {% set conda_py = os.environ.get('CONDA_PY', '35') %}
            name: web-ui-py{{ conda_py }}
        
            includes:
              - {{ root }}/../core-business/environment.devenv.yml
        
            dependencies:
              {% if sys.platform.startswith('linux') %}
              - gcc
              {% endif %}
        
            environment:
              PYTHONPATH:
                - {{ root }}/src
              STAGE: DEVELOPMENT
        
        
        To use this file, execute:
        
        .. code-block:: console
        
            $ cd ~/projects/web-ui
            $ conda devenv
            > Executing: conda env update --file environment.yml --prune
            Fetching package metadata .........
            Solving package specifications: ..........
            Linking packages ...
            [      COMPLETE      ]|############################| 100%
            #
            # To activate this environment, use:
            # > source activate web-ui-py35
            #
            # To deactivate this environment, use:
            # > source deactivate web-ui-py35
            #
        
            $ source activate web-ui-py35
        
            $ env PYTHONPATH
            /home/user/projects/web-ui/src
        
            $ echo $STAGE
            DEVELOPMENT
        
        Documentation
        -------------
        
        https://conda-devenv.readthedocs.io.
        
        
        License
        -------
        Free software: MIT license
        
        
        =======
        History
        =======
        
        0.9.1 (2017-03-22)
        ------------------
        
        * Fix activate and deactivate ``bash`` scripts: variables not in the environment before activation
          are now properly unset after deactivation.
        
        * Fix activate and deactivate ``bash`` scripts: quote variables when exporting them.
        
        
        0.9.0 (2017-03-17)
        ------------------
        
        * New option ``--print-full``, which also prints the expanded ``environment:`` section.
        
        0.8.1 (2017-03-16)
        ------------------
        
        * Fix entry point call to ``main``.
        
        
        0.8.0 (2017-03-16)
        ------------------
        
        * ``conda-devenv`` now can receive standard ``environment.yml`` files, in which case the file
          will just be forwarded to ``conda env update`` normally.
        
Keywords: conda_devenv
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
