From 1f2f994cda4106eea6a8d0163bd27bf1a9ef91b7 Mon Sep 17 00:00:00 2001 From: Faiyaz Hasan Date: Thu, 6 Oct 2022 10:54:11 -0400 Subject: [PATCH] Update environment variable setting (#40) --- CHANGELOG.md | 4 ++++ setup.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1207282..dc5ed4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] +### Fixed + +- Store `BASE_COVALENT_AWS_PLUGINS_ONLY` in a temporary file rather than storing it as an environment variable. + ### Docs - Added sections containing configuration information and required cloud resources diff --git a/setup.py b/setup.py index 5a02abd..4cb740b 100644 --- a/setup.py +++ b/setup.py @@ -82,5 +82,6 @@ def git_match_requirement(req): } if __name__ == "__main__": - os.environ["BASE_COVALENT_AWS_PLUGINS_ONLY"] = "True" + with open("/tmp/BASE_COVALENT_AWS_PLUGINS_ONLY", "w") as f: + f.write("True") setup(**setup_info)