Skip to content

Commit

Permalink
Change MARA_XXX variables to functions to delay importing of imports …
Browse files Browse the repository at this point in the history
…(requires updating mara-app to 2.0.0)
  • Loading branch information
martin-loetzsch committed Apr 13, 2019
1 parent 7a7b949 commit f771167
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 3.0.0 (2019-04-13)

- Change MARA_XXX variables to functions to delay importing of imports

**required changes**

- If used together with a mara project, Update `mara-app` to `>=2.0.0`


## 2.1.0
*2019-01-23*

Expand Down
9 changes: 6 additions & 3 deletions google_ads_downloader/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from google_ads_downloader import config, cli

MARA_CONFIG_MODULES = [config]
def MARA_CONFIG_MODULES():
from . import config, cli
return [config]

MARA_CLICK_COMMANDS = [cli.download_data, cli.refresh_oauth2_token]
def MARA_CLICK_COMMANDS():
from . import config, cli
return [cli.download_data, cli.refresh_oauth2_token]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

install_requires=[
Expand Down

0 comments on commit f771167

Please sign in to comment.