-
-
Notifications
You must be signed in to change notification settings - Fork 100
/
pyproject.toml
45 lines (40 loc) · 2.24 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0", "pyasyncore; python_version >= '3.12'", "cryptography"] # core requirements are needed for version detection when building for PyPI, which requires importing (but not running) the script on `ubuntu-latest`
build-backend = "setuptools.build_meta"
[project]
name = "emailproxy"
authors = [
{ name = "Simon Robinson", email = "[email protected]" }
]
description = "Transparently add OAuth 2.0 support to IMAP/POP/SMTP clients that don't support this authentication method."
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "Apache License 2.0" }
requires-python = ">=3.7"
classifiers = [
"Operating System :: OS Independent",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Topic :: Communications :: Email",
"Topic :: Communications :: Email :: Mail Transport Agents",
"Topic :: Communications :: Email :: Post-Office",
"Topic :: Communications :: Email :: Post-Office :: IMAP",
"Topic :: Communications :: Email :: Post-Office :: POP3",
"Development Status :: 6 - Mature",
"License :: OSI Approved :: Apache Software License"
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[tool.setuptools]
py-modules = ["emailproxy"] # ignore other folders in the root directory (note that some (such as "tests") *cannot* be ignored in the .tar.gz sdist without a MANIFEST.in)
[project.scripts]
emailproxy = "emailproxy:App"
[project.urls] # shown in alphabetical order on PyPI, and there is no way to put a "Homepage" link first as with the setup.py approach (but see https://github.com/pypi/warehouse/blob/main/warehouse/templates/packaging/detail.html)
"Documentation" = "https://github.com/simonrob/email-oauth2-proxy#email-oauth-20-proxy"
"Release Notes" = "https://github.com/simonrob/email-oauth2-proxy/releases"
"Report Issues" = "https://github.com/simonrob/email-oauth2-proxy/issues"
"Source Code" = "https://github.com/simonrob/email-oauth2-proxy"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements-core.txt"] }
optional-dependencies.gui = { file = ["requirements-gui.txt"] }
version = { attr = "emailproxy.__package_version__" }