Skip to content

python-dotenv support #195

@paoslaos

Description

@paoslaos

The readme on the main page is quite nice and helps in using environment variables. Is there a way to use variables that are defined via a python-dotenv file?

# don't use os but a dot env?
{% set conda_py = os.environ.get('CONDA_PY', '35') %}
name: web-ui-py{{ conda_py }}

includes:
  - {{ root }}/../core-business/environment.devenv.yml

The dotenv is just a file that looks like this:

# Development settings
CONDA_PY='35'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions