From d31c489e33ae6b38b8af0c1d2dc7090476eb164a Mon Sep 17 00:00:00 2001 From: Robert Taylor Date: Sat, 26 Nov 2022 02:31:04 +0000 Subject: [PATCH] Add Coriolis dir that poetry needs, along with base __init__.py --- Coriolis/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Coriolis/__init__.py diff --git a/Coriolis/__init__.py b/Coriolis/__init__.py new file mode 100644 index 00000000..3e8ca850 --- /dev/null +++ b/Coriolis/__init__.py @@ -0,0 +1,7 @@ +#This is needed for poetry to recognise the top level module +import os + +__all__ = ["crlcore"] +coriolis_package_dir = os.path.abspath(os.path.dirname(__file__)) + +os.environ["CORIOLIS_TOP"] = coriolis_package_dir