pyproject.toml

This commit is contained in:
emdee 2024-01-14 00:08:22 +00:00
parent 4dc394213c
commit 3b623d4fdf
8 changed files with 43 additions and 0 deletions

43
pyproject.toml Normal file
View File

@ -0,0 +1,43 @@
[project]
name = "phantompy"
description = "Set the ExcludeNodes or ExcludeExitNodes setting of a running Tor."
authors = [{ name = "emdee", email = "emdee@spm.plastiras.org" } ]
requires-python = ">=3.6"
keywords = ["tor", "python3", "bad exits"]
classifiers = [
"License :: OSI Approved",
"Operating System :: POSIX :: BSD :: FreeBSD",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["version", "readme", ] # cannot be dynamic ['license']
scripts = { phantompy = "phantompy.phantompy:iMain" }
dependencies = ['qasync', 'PyQt5']
[tool.setuptools.dynamic]
version = {attr = "phantompy.__version__"}
readme = {file = ["README.md"]}
[project.license]
file = "LICENSE.md"
[project.urls]
repository = "https://git.plastiras.org/emdee/phantompy"
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
# Either or both of these don't work
#[tool.setuptools]
#packages = ["phantompy"]
#[tool.setuptools.packages.find]
#include = ["src"]