Skip to content

Commit

Permalink
import MPMap easily
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasaunai committed May 2, 2024
1 parent 3d0e2c0 commit e710b96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mpmaps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import urllib.request
import os

from .mpmaps import MPMap


data_dir = os.path.join(user_data_dir(), "mpmaps")

grids = [
Expand All @@ -29,5 +32,3 @@
os.mkdir(data_dir)
print(f"file {dlpath} does not exist, downloading {url} --> {dlpath}\n")
urllib.request.urlretrieve(url, dlpath)


0 comments on commit e710b96

Please sign in to comment.