Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
graft extern/
include pkcs11/*.pxd
include pkcs11/py.typed
include src/pkcs11/*.pxd
include src/pkcs11/py.typed
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ combine-as-imports = true

[tool.setuptools]
ext-modules = [
{name = "pkcs11._pkcs11", sources = ["pkcs11/_pkcs11.pyx"]}
{name = "pkcs11._pkcs11", sources = ["src/pkcs11/_pkcs11.pyx"]}
]

[tool.cibuildwheel]
Expand All @@ -68,9 +68,6 @@ archs = ["AMD64"]
[tool.cibuildwheel.macos]
archs = ["universal2"]

[tool.setuptools.packages.find]
include = ["pkcs11*"]

[tool.setuptools.package-data]
pkcs11 = ["py.typed"]

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkcs11/_pkcs11.pxd → src/pkcs11/_pkcs11.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from cython.view cimport array

from pkcs11.exceptions import *

cdef extern from '../extern/cryptoki.h':
cdef extern from '../../extern/cryptoki.h':

ctypedef unsigned char CK_BYTE
ctypedef CK_BYTE CK_BBOOL
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkcs11/_pkcs11.pyx → src/pkcs11/_pkcs11.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@ _CLASS_MAP = {
ObjectClass.CERTIFICATE: Certificate,
}

cdef extern from "../extern/load_module.c":
cdef extern from "../../extern/load_module.c":
ctypedef struct P11_HANDLE:
void *get_function_list_ptr

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.