Skip to content

Commit

Permalink
Remove setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jul 22, 2024
1 parent 7efb8fa commit d22e413
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 105 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ jobs:
- {VERSION: "pypy-3.10", TOXENV: "pypy3"}

# MSRV
- {VERSION: "3.12", TOXENV: "py312", RUST_VERSION: "1.63.0"}
- {VERSION: "3.12", TOXENV: "py312", RUST_VERSION: "1.64.0"}
- {VERSION: "3.12", TOXENV: "py312", RUST_VERSION: "beta"}
- {VERSION: "3.12", TOXENV: "py312", RUST_VERSION: "nightly"}
Expand Down Expand Up @@ -129,8 +128,6 @@ jobs:
toolchain: ${{ matrix.PYTHON.RUST_VERSION || 'stable' }}

- run: pip install tox
- if: matrix.PYTHON.RUST_VERSION == '1.63.0'
run: echo 'BCRYPT_ALLOW_RUST_163=1' >> $GITHUB_ENV
- run: tox
env:
TOXENV: ${{ matrix.PYTHON.TOXENV }}
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
requires = [
"setuptools>=42.0.0",
"wheel",
"setuptools-rust",
"setuptools-rust>=1.7.0",
]
# Point to the setuptools' PEP517 build backend explicitly to
# disable Pip's fallback guessing
Expand Down Expand Up @@ -50,6 +50,11 @@ readme = {file = "README.rst", content-type = "text/x-rst"}
tests = ["pytest>=3.2.1,!=3.3.0"]
typecheck = ["mypy"]

[[tool.setuptools-rust.ext-modules]]
target = "bcrypt._bcrypt"
path = "src/_bcrypt/Cargo.toml"
py-limited-api = "auto"
rust-version = ">=1.64.0"

[tool.ruff]
line-length = 79
Expand Down
101 changes: 0 additions & 101 deletions setup.py

This file was deleted.

0 comments on commit d22e413

Please sign in to comment.