[build-system] requires = ["setuptools>=77.0", "versioneer[toml]==0.29", "wheel"] build-backend = "setuptools.build_meta" [project] name="tableauserverclient" dynamic = ["version"] description='A Python module for working with the Tableau Server REST API.' authors = [{name="Tableau", email="github@tableau.com"}] license-files = ["LICENSE"] readme = "README.md" dependencies = [ 'defusedxml>=0.7.1', # latest as at 7/31/23 'packaging>=23.1', # latest as at 7/31/23 'requests>=2.32', # latest as at 7/31/23 'urllib3>=2.6.0,<3', 'typing_extensions>=4.0', ] requires-python = ">=3.9" classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13" ] [project.urls] repository = "https://github.com/tableau/server-client-python" [project.optional-dependencies] test = ["black==24.10", "build", "mypy==1.4", "pytest>=7.0", "pytest-cov", "pytest-subtests", "pytest-xdist", "requests-mock>=1.0,<2.0", "types-requests>=2.32.4.20250913"] [tool.setuptools.package-data] # Only include data for tableauserverclient, not for samples, test, docs tableauserverclient = ["*"] [tool.setuptools.packages.find] where = ["."] include = ["tableauserverclient*"] [tool.setuptools.dynamic] version = {attr = "versioneer.get_version"} [tool.black] line-length = 120 target-version = ['py39', 'py310', 'py311', 'py312', 'py313'] force-exclude = "tableauserverclient/bin/*" [tool.mypy] check_untyped_defs = false disable_error_code = [ 'misc', 'annotation-unchecked' # can be removed when check_untyped_defs = true ] files = ["tableauserverclient", "test", "samples"] show_error_codes = true ignore_missing_imports = true # defusedxml library has no types no_implicit_reexport = true implicit_optional = true exclude = ['/bin/'] [tool.pytest.ini_options] testpaths = ["test"] addopts = "--junitxml=./test.junit.xml" [tool.versioneer] VCS = "git" style = "pep440-pre" versionfile_source = "tableauserverclient/bin/_version.py" versionfile_build = "_version.py" tag_prefix = "v"