-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Lazy load PinterestSDKClient - Add config.json support - Add AdGroup methods: enable_auto_targeting, disable_auto_targeting
- Loading branch information
Showing
17 changed files
with
324 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
build: | ||
clean: clean-build clean-pyc ## Clean | ||
|
||
clean-build: ## Clean python build | ||
rm -fr build/ | ||
rm -fr dist/ | ||
rm -fr *.egg-info | ||
rm -fr .tox | ||
|
||
clean-pyc: ## Clean python binaries | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
find . -name '*~' -exec rm -f {} + | ||
|
||
build: ## Build command | ||
python -m build | ||
ls -l dist | ||
|
||
pip_release_install: | ||
pip install twine build | ||
|
||
publish_pypi_test: pip_release_install build | ||
publish_pypi_test: clean pip_release_install build | ||
twine upload -r testpypi dist/* | ||
|
||
publish_pypi: pip_release_install build | ||
publish_pypi: clean pip_release_install build | ||
twine upload -r pypi dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"debug": "true", | ||
"port": "0", | ||
"app_id": "<app id>", | ||
"app_secret": "<app secret>", | ||
"redirect_uri": "localhost", | ||
"response_type": "code", | ||
"scope": "<scopes>", | ||
"state": "dev", | ||
"access_token_json_path": "./", | ||
"access_token": "<access token>", | ||
"refresh_access_token": "<refresh token>", | ||
"api_uri": "https://api.pinterest.com/v5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.