Add Coriolis dir that poetry needs, along with base __init__.py

This commit is contained in:
Robert Taylor 2022-11-26 02:31:04 +00:00
parent 80e83d42ed
commit d31c489e33
1 changed files with 7 additions and 0 deletions

7
Coriolis/__init__.py Normal file
View File

@ -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