Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
42 lines (38 loc) · 1.32 KB

File metadata and controls

42 lines (38 loc) · 1.32 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import sys
import versioneer
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Only install pytest and runner when test command is run
# This makes work easier for offline installs or low bandwidth machines
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name='tableauserverclient',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Tableau',
author_email='github@tableau.com',
url='https://github.com/tableau/server-client-python',
packages=['tableauserverclient', 'tableauserverclient.models', 'tableauserverclient.server',
'tableauserverclient.server.endpoint'],
license='MIT',
description='A Python module for working with the Tableau Server REST API.',
long_description=long_description,
long_description_content_type='text/markdown',
test_suite='test',
setup_requires=pytest_runner,
install_requires=[
'requests>=2.11,<3.0',
],
tests_require=[
'requests-mock>=1.0,<2.0',
'pytest',
'mock'
]
)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.