mirror of https://github.com/jab/bidict.git
78 lines
2.5 KiB
TOML
78 lines
2.5 KiB
TOML
[project]
|
|
name = "bidict"
|
|
dynamic = ["version"]
|
|
description = "The bidirectional mapping library for Python."
|
|
authors = [{name="Joshua Bronson", email="jabronson@gmail.com"}]
|
|
license = {text="MPL 2.0"}
|
|
dependencies = []
|
|
requires-python = ">=3.7"
|
|
readme = "README.rst"
|
|
keywords = [
|
|
"bidict", "bimap", "bidirectional", "dict", "dictionary", "mapping", "collections",
|
|
]
|
|
classifiers = [
|
|
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"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",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Typing :: Typed",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://bidict.readthedocs.io"
|
|
Repository = "https://github.com/jab/bidict"
|
|
Documentation = "https://bidict.readthedocs.io"
|
|
Donate = "https://github.com/sponsors/jab"
|
|
Changelog = "https://bidict.readthedocs.io/changelog.html"
|
|
Chat = "https://gitter.im/jab/bidict"
|
|
"Source Code" = "https://github.com/jab/bidict"
|
|
"Issue Tracker" = "https://github.com/jab/bidict/issues"
|
|
"Enterprise Support" = "https://bidict.readthedocs.io/#enterprise-support"
|
|
|
|
[build-system]
|
|
requires = ["setuptools >= 40.9.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools]
|
|
packages = ["bidict"]
|
|
|
|
[project.optional-dependencies]
|
|
# See dev-deps/*.txt for pip-compiled sets of these dependencies.
|
|
lint = ["pre-commit"]
|
|
docs = [
|
|
"sphinx",
|
|
"sphinx-copybutton",
|
|
"furo",
|
|
]
|
|
test = [
|
|
"hypothesis",
|
|
"pytest",
|
|
"pytest-benchmark[histogram]",
|
|
"pytest-cov",
|
|
"pytest-xdist",
|
|
"sortedcollections",
|
|
"sortedcontainers",
|
|
# run_tests.py depends on Sphinx to run doctests (see note in run_tests.py)
|
|
"sphinx",
|
|
]
|
|
|
|
|
|
[tool.ruff] # https://github.com/charliermarsh/ruff#configuration
|
|
ignore = ["E501"] # line too long
|
|
fix = true
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
"docs/conf.py" = ["E402"] # import not at top of file
|
|
# __init__.py collects functionality implemented in the rest of the package
|
|
# for the sole purpose of exporting it under the `bidict` module namespace,
|
|
# and does not understand mypy-style "import foo as foo" explicit re-exports,
|
|
# so ignore F401 in this file ("imported but unused").
|
|
"bidict/__init__.py" = ["F401"]
|