8000 Merge pull request #40 from RussTheAerialist/publish-script · onware/document-api-python@c26ee64 · GitHub
[go: up one dir, main page]

Skip to content

Commit c26ee64

Browse files
author
Russell Hay
authored
Merge pull request tableau#40 from RussTheAerialist/publish-script
Updating development branch with publishing fixes
2 parents 807fa9d + 26d5116 commit c26ee64

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ We don't yet support creating files from scratch. In addition, support for `.twb
2020
###Getting Started
2121
To use this SDK, you must have Python installed. You can use either 2.7.X or 3.3 and later.
2222

23+
#### Installing the latest stable version (preferred)
24+
25+
```text
26+
pip install tableaudocumentapi
27+
```
28+
29+
#### Installing From Source
30+
2331
Download the `.zip` file that contains the SDK. Unzip the file and then run the following command:
2432

2533
```text

publish.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
rm -rf dist
6+
python setup.py sdist
7+
python setup.py bdist_wheel
8+
python3 setup.py bdist_wheel
9+
twine upload dist/*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
author='Tableau Software',
1010
author_email='github@tableau.com',
1111
url='https://github.com/tableau/document-api-python',
12-
py_modules=['tableaudocumentapi'],
12+
packages=['tableaudocumentapi'],
1313
license='MIT',
1414
description='A Python module for working with Tableau files.',
1515
test_suite='test'

0 commit comments

Comments
 (0)
0