blob: 29551568c6b79ae1ba926a7d91e574b61fa48583 (
plain)
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
|
diff --git a/pyproject.toml b/pyproject.toml
index 4728e80..4443288 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,7 +9,7 @@ requires = [
build-backend = "setuptools.build_meta"
[project]
-name = "bcrypt"
+name = "ceph_bcrypt"
# When updating this, also update lib.rs
version = "4.2.1"
authors = [
@@ -41,7 +41,7 @@ homepage = "https://github.com/pyca/bcrypt/"
[tool.setuptools]
zip-safe = false
package-dir = {"" = "src"}
-packages = ["bcrypt"]
+packages = ["ceph_bcrypt"]
[tool.setuptools.dynamic]
readme = {file = "README.rst", content-type = "text/x-rst"}
@@ -51,7 +51,7 @@ tests = ["pytest>=3.2.1,!=3.3.0"]
typecheck = ["mypy"]
[[tool.setuptools-rust.ext-modules]]
-target = "bcrypt._bcrypt"
+target = "ceph_bcrypt._bcrypt"
path = "src/_bcrypt/Cargo.toml"
py-limited-api = "auto"
rust-version = ">=1.64.0"
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py
index 68c00fb..0661573 100644
--- a/tests/test_bcrypt.py
+++ b/tests/test_bcrypt.py
@@ -1,6 +1,6 @@
import pytest
-import bcrypt
+import ceph_bcrypt as bcrypt
_test_vectors = [
(
|