Skip to content

Commit d7b9814

Browse files
committed
feat: Alter version of package
1 parent 805957e commit d7b9814

4 files changed

Lines changed: 55 additions & 12 deletions

File tree

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: Test Python 📦
55

66
on:
77
push:
8+
branches: [ alt_master ]
89
paths-ignore:
910
- 'docs/**'
1011
pull_request:
11-
branches: '*'
12+
branches: [ alt_master ]
1213

1314
jobs:
1415
build:
@@ -17,10 +18,12 @@ jobs:
1718
strategy:
1819
fail-fast: false
1920
matrix:
20-
python-version: [3.7, 3.8, 3.9]
21+
python-version: [3.6, 3.7, 3.8, 3.9]
2122

2223
steps:
2324
- uses: actions/checkout@v2
25+
with:
26+
ref: alt_master
2427
- name: Set up Python ${{ matrix.python-version }}
2528
uses: actions/setup-python@v2
2629
with:
@@ -40,10 +43,12 @@ jobs:
4043
strategy:
4144
fail-fast: false
4245
matrix:
43-
python-version: [3.9]
46+
python-version: [3.6]
4447

4548
steps:
4649
- uses: actions/checkout@v2
50+
with:
51+
ref: alt_master
4752
- name: Set up Python ${{ matrix.python-version }}
4853
uses: actions/setup-python@v2
4954
with:
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Publish Python 📦 to PyPI
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
build-n-publish:
7+
name: Build and publish Python 📦 to PyPI
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
ref: alt_master
14+
15+
- name: Set up Python 3.6
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: 3.6
19+
20+
- name: Install pypa/build
21+
run: >-
22+
python -m
23+
pip install
24+
build
25+
--user
26+
- name: Build a binary wheel and a source tarball
27+
run: >-
28+
python -m
29+
build
30+
--sdist
31+
--wheel
32+
--outdir dist/
33+
.
34+
35+
- name: Publish distribution 📦 to PyPI
36+
uses: pypa/gh-action-pypi-publish@master
37+
with:
38+
password: ${{ secrets.PYPI_API_TOKEN }}
39+
repository_url: https://upload.pypi.org/legacy/

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# document-api-python
2-
[![Tableau Supported](https://img.shields.io/badge/Support%20Level-Tableau%20Supported-53bd92.svg)](https://www.tableau.com/support-levels-it-and-developer-tools) [![Build Status](https://travis-ci.org/tableau/document-api-python.svg?branch=master)](https://travis-ci.org/tableau/document-api-python)
32

4-
This repo contains Python source and example files for the Tableau Document API.
3+
This repo is an alternative of [original repo](https://github.com/tableau/document-api-python) contains Python source and example files for the Tableau Document API.
54

6-
For more information, see the documentation:
5+
For more information, see the official documentation:
76

87
<http://tableau.github.io/document-api-python>
98

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from setuptools import setup
22

33
setup(
4-
name='tableaudocumentapi',
4+
name='alt_tableaudocumentapi',
55
version='0.8',
6-
author='Tableau',
7-
author_email='github@tableau.com',
8-
url='https://github.com/tableau/document-api-python',
6+
author='Mikhail Korotchenkov',
7+
author_email='mr.mkc19@hotmail.com',
8+
url='https://github.com/dev-mkc19/document-api-python',
99
packages=['tableaudocumentapi'],
1010
license='MIT',
11-
description='A Python module for working with Tableau files.',
11+
description='An alternative Python module for working with Tableau files.',
1212
test_suite='test'
1313
)

0 commit comments

Comments
 (0)