Skip to content

Commit f771167

Browse files
Change MARA_XXX variables to functions to delay importing of imports (requires updating mara-app to 2.0.0)
1 parent 7a7b949 commit f771167

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 3.0.0 (2019-04-13)
4+
5+
- Change MARA_XXX variables to functions to delay importing of imports
6+
7+
**required changes**
8+
9+
- If used together with a mara project, Update `mara-app` to `>=2.0.0`
10+
11+
312
## 2.1.0
413
*2019-01-23*
514

google_ads_downloader/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
from google_ads_downloader import config, cli
21

3-
MARA_CONFIG_MODULES = [config]
2+
def MARA_CONFIG_MODULES():
3+
from . import config, cli
4+
return [config]
45

5-
MARA_CLICK_COMMANDS = [cli.download_data, cli.refresh_oauth2_token]
6+
def MARA_CLICK_COMMANDS():
7+
from . import config, cli
8+
return [cli.download_data, cli.refresh_oauth2_token]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='google-ads-performance-downloader',
5-
version='2.1.0',
5+
version='3.0.0',
66
description="Downloads data from the Google Adwords Api to local files",
77

88
install_requires=[

0 commit comments

Comments
 (0)