diff --git a/README.md b/README.md index a20f78b..509f63f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,14 @@ > 🚨 Note: This SDK is only accessible to customer developers with access to the Discovery API (Enterprise accounts) or partners who have been onboarded to the Security and Compliance partner program. To learn more about the Discovery APIs, please [visit our help center](https://slack.com/help/articles/360002079527-A-guide-to-Slacks-Discovery-APIs). 🚨 -# Using the SDK + +## Prerequisites For Using the SDK +* Python version 3.6 or greater +* Latest version of pip +* A token with discovery scopes (`discovery:read` and or `discovery:write`) + > Note: Please see the [OAuth guide](https://api.slack.com/enterprise/discovery/oauth-guide) on how to get this token if you don't already have one. + +## Using the SDK Use pip to install the SDK. diff --git a/scripts/deploy_to_prod_pypi_org.sh b/scripts/deploy_to_prod_pypi_org.sh new file mode 100644 index 0000000..a473f72 --- /dev/null +++ b/scripts/deploy_to_prod_pypi_org.sh @@ -0,0 +1,14 @@ +# Copyright 2021, Slack Technologies, LLC. All rights reserved. + +#!/bin/bash + +script_dir=`dirname $0` +cd ${script_dir}/.. +rm -rf ./slack_discovery_sdk.egg-info + +pip install -U pip && \ + pip install twine wheel && \ + rm -rf dist/ build/ slack_discovery_sdk.egg-info/ && \ + python setup.py sdist bdist_wheel && \ + twine check dist/* && \ + twine upload dist/* \ No newline at end of file diff --git a/slack_discovery_sdk/version.py b/slack_discovery_sdk/version.py index ea834b2..d601280 100644 --- a/slack_discovery_sdk/version.py +++ b/slack_discovery_sdk/version.py @@ -1,3 +1,3 @@ # Copyright 2021, Slack Technologies, LLC. All rights reserved. -__version__ = "1.0.0" +__version__ = "1.0.1"