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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
# Release notes:
# * Install pdoc3, wheel, twine, build
# * Bump version in exchangelib/__init__.py
# * Bump version in CHANGELOG.md
# * Generate documentation:
# rm -r docs/exchangelib && pdoc3 --html exchangelib -o docs --force && git add docs && pre-commit run end-of-file-fixer || git add docs
# * Commit and push changes
# * Build package:
# rm -rf build dist exchangelib.egg-info && python -m build
# * Push to PyPI:
# twine upload dist/*
# * Create release on GitHub
[project]
name = "exchangelib"
dynamic = ["version"]
description = "Client for Microsoft Exchange Web Services (EWS)"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9"
license = {text = "BSD-2-Clause"}
keywords = [
"autodiscover",
"ews",
"exchange",
"exchange-web-services",
"microsoft",
"o365",
"office365",
"outlook",
]
authors = [
{name = "Erik Cederstrand", email = "erik@cederstrand.dk"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Topic :: Communications",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
]
dependencies = [
"cached_property",
"defusedxml >= 0.6.0",
"dnspython >= 2.2.0",
"isodate",
"lxml>3.0",
"oauthlib",
"pygments",
"requests >= 2.31.0",
"requests_ntlm >= 0.2.0",
"requests_oauthlib",
"tzlocal",
]
[project.urls]
Homepage = "https://github.com/ecederstrand/exchangelib"
Issues = "https://github.com/ecederstrand/exchangelib/issues"
Documentation = "https://ecederstrand.github.io/exchangelib/"
Repository = "https://github.com/ecederstrand/exchangelib.git"
Changelog = "https://github.com/ecederstrand/exchangelib/blob/master/CHANGELOG.md"
[project.optional-dependencies]
kerberos = ["requests_gssapi"]
msal = ["msal"]
sspi = ["requests_negotiate_sspi"]
complete = ["requests_gssapi", "msal", "requests_negotiate_sspi"]
[tool.setuptools.dynamic]
version = {attr = "exchangelib.__version__"}
[bdist_wheel]
universal = 1
[tool.flake8]
ignore = ["E203", "W503"]
max-line-length = 120
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
|