diff --git a/README b/README new file mode 120000 index 0000000..42061c0 --- /dev/null +++ b/README @@ -0,0 +1 @@ +README.md \ No newline at end of file diff --git a/README.md b/README.md index 19f3e38..2fb0bdd 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ We don't yet support creating files from scratch. In addition, support for `.twb ###Getting Started To use this SDK, you must have Python installed. You can use either 2.7.X or 3.3 and later. +#### Installing the latest stable version (preferred) + +```text +pip install tableaudocumentapi +``` + +#### Installing From Source + Download the `.zip` file that contains the SDK. Unzip the file and then run the following command: ```text diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..99a3115 --- /dev/null +++ b/publish.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +set -e + +rm -rf dist +python setup.py sdist +python setup.py bdist_wheel +python3 setup.py bdist_wheel +twine upload dist/* diff --git a/setup.py b/setup.py index f693919..5ef3e85 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ author='Tableau Software', author_email='github@tableau.com', url='https://github.com/tableau/document-api-python', - py_modules=['tableaudocumentapi'], + packages=['tableaudocumentapi'], license='MIT', description='A Python module for working with Tableau files.', test_suite='test'