Skip to content

Commit

Permalink
Migrate to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Nov 23, 2023
1 parent eebe46e commit c0bb466
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
1 change: 0 additions & 1 deletion .github/workflows/wheel-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
paths:
- .github/workflows/wheel-builder.yml
- setup.py
- setup.cfg
- pyproject.toml


Expand Down
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,47 @@ requires = [
# disable Pip's fallback guessing
build-backend = "setuptools.build_meta"

[project]
name = "bcrypt"
authors = [
{name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
]
description = "Modern password hashing for your software and your servers"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"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 :: 3.12",
]
requires-python = ">= 3.7"
dynamic = ["version", "readme"]

[project.urls]
homepage = "https://github.com/pyca/bcrypt/"

[tool.setuptools]
zip-safe = false
package-dir = {"" = "src"}
packages = ["bcrypt"]

[tool.setuptools.dynamic]
version = {attr = "bcrypt.__about__.__version__"}
readme = {file = "README.rst", content-type = "text/x-rst"}

[project.optional-dependencies]
tests = ["pytest>=3.2.1,!=3.3.0"]
typecheck = ["mypy"]


[tool.ruff]
ignore = ['N818']
select = ['E', 'F', 'I', 'N', 'W', 'UP', 'RUF']
Expand Down
40 changes: 0 additions & 40 deletions setup.cfg

This file was deleted.

0 comments on commit c0bb466

Please sign in to comment.