Skip to content

Commit

Permalink
Merge pull request #6 from nicolasaunai/init
Browse files Browse the repository at this point in the history
import MPMap easily
  • Loading branch information
nicolasaunai authored May 2, 2024
2 parents 3d0e2c0 + e710b96 commit 1b3c23a
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 1b3c23a

Please sign in to comment.