From e710b96f966845cf87c5f3eaf00c6218be136204 Mon Sep 17 00:00:00 2001 From: Nicolas Aunai Date: Thu, 2 May 2024 16:28:54 +0200 Subject: [PATCH] import MPMap easily --- mpmaps/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mpmaps/__init__.py b/mpmaps/__init__.py index 396e16c..aabc738 100644 --- a/mpmaps/__init__.py +++ b/mpmaps/__init__.py @@ -3,6 +3,9 @@ import urllib.request import os +from .mpmaps import MPMap + + data_dir = os.path.join(user_data_dir(), "mpmaps") grids = [ @@ -29,5 +32,3 @@ os.mkdir(data_dir) print(f"file {dlpath} does not exist, downloading {url} --> {dlpath}\n") urllib.request.urlretrieve(url, dlpath) - - \ No newline at end of file