diff --git a/CHANGELOG.md b/CHANGELOG.md index bf538d3..89aa5b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. See [standa ## [Unreleased](https://github.com/dotenv-org/python-dotenv-vault/compare/v0.5.1...master) -## 0.7.0 +## 0.6.2 ### Changed @@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file. See [standa ### Changed -- Allow to place .env.vault file anywhere in app [#13](https://github.com/dotenv-org/python-dotenv-vault/pull/13) +- Look for .env.vault file at same location as .env file. Finds .env file anywhere in app (just like original python lib) [#13](https://github.com/dotenv-org/python-dotenv-vault/pull/13) ## 0.6.0 diff --git a/setup.py b/setup.py index 795b4ec..c836439 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ import os -import sys from setuptools import setup, find_packages src = {} diff --git a/src/dotenv_vault/__version__.py b/src/dotenv_vault/__version__.py index f253c76..c29085b 100644 --- a/src/dotenv_vault/__version__.py +++ b/src/dotenv_vault/__version__.py @@ -1,7 +1,7 @@ __title__ = "python-dotenv-vault" __description__ = "Decrypt .env.vault file." __url__ = "https://github.com/dotenv-org/python-dotenv-vault" -__version__ = "0.6.1" +__version__ = "0.6.2" __author__ = "dotenv" __author_email__ = "mot@dotenv.org" __license__ = "MIT" diff --git a/src/dotenv_vault/main.py b/src/dotenv_vault/main.py index e0bf739..088d081 100644 --- a/src/dotenv_vault/main.py +++ b/src/dotenv_vault/main.py @@ -21,7 +21,7 @@ def load_dotenv_vault() -> str: path = os.path.dirname(path) if '.env.vault' not in os.listdir(path): # we fall back to .env - logger.warning("No .env.vault file found. Falling back to .env") + logger.warning(f"You set DOTENV_KEY but you are missing a .env.vault file at {path}. Did you forget to build it?") return f"{path}/.env" return f"{path}/.env.vault"