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
|
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "scramp"
authors = [{name = "The Contributors"}]
description = "An implementation of the SCRAM protocol."
readme = "README.md"
requires-python = ">=3.8"
keywords = ["SCRAM", "authentication", "SASL"]
license = {text = "MIT No Attribution"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT No Attribution License (MIT-0)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
]
dependencies = [
"asn1crypto >= 1.5.1",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/tlocke/scramp"
[tool.hatch.version]
source = "versioningit"
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[tool.flake8]
application-names = ["scramp"]
ignore = ["E203", "W503"]
max-line-length = 88
exclude = [".git", "__pycache__", "build", "dist", "venv", ".tox"]
application-import-names = ["scramp"]
[tool.tox]
requires = ["tox>=4.19"]
envlist = ["py"]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
allowlist_externals = ["rm"]
commands = [
["black", "--check", "."],
["flake8", "."],
["validate-pyproject", "pyproject.toml"],
["pytest", "-v", "-x", "-W error", "test"],
["rm", "-rf", "dist"],
["python", "-m", "build"],
["twine", "check", "dist/*"],
]
deps = [
"pytest",
"pytest-mock",
"black",
"flake8",
"flake8-alphabetize",
"Flake8-pyproject",
"docutils",
"build",
"passlib",
"twine",
"validate-pyproject",
]
|