Skip to content

Commit d1a1852

Browse files
author
Charles Larivier
committed
Merge branch 'hotfix/0.1.1' into develop
2 parents 4a1d175 + c159253 commit d1a1852

26 files changed

+20
-32
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@ cython_debug/
141141

142142

143143
.idea/
144-
/metabase/_version.py
144+
/src/metabase/_version.py

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
name="metabase-python",
1111
use_scm_version={
1212
"local_scheme": "dirty-tag",
13-
"write_to": "metabase/_version.py",
13+
"write_to": "src/metabase/_version.py",
1414
"fallback_version": "0.0.0",
1515
},
1616
description="A Python wrapper for interacting with Metabase's API.",
@@ -19,9 +19,8 @@
1919
author="Charles Lariviere",
2020
author_email="charleslariviere1@gmail.com ",
2121
url="https://github.com/chasleslr/metabase-python",
22-
packages=find_packages("metabase"),
23-
package_dir={"": "metabase"},
24-
py_modules=[splitext(basename(path))[0] for path in glob("metabase/*.py")],
22+
packages=find_packages("src"),
23+
package_dir={"": "src"},
2524
include_package_data=True,
2625
zip_safe=False,
2726
classifiers=[
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

metabase/resource.py renamed to src/metabase/resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from __future__ import annotations
22

3-
from exceptions import NotFoundError
43
from requests import HTTPError
54

65
from metabase import Metabase
6+
from metabase.exceptions import NotFoundError
77
from metabase.missing import MISSING
88

99

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)