From 356a97112cae2bf9c0b8fbf7a7db326e90ce01c5 Mon Sep 17 00:00:00 2001 From: Ahmed TAHRI Date: Wed, 20 Sep 2023 21:33:00 +0200 Subject: [PATCH] :wrench: update MANIFEST.in --- MANIFEST.in | 3 +++ src/lib.rs | 2 +- wassima/__init__.py | 2 +- wassima/py.typed | 0 wassima/{rustls.pyi => wassima.pyi} | 0 5 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 wassima/py.typed rename wassima/{rustls.pyi => wassima.pyi} (100%) diff --git a/MANIFEST.in b/MANIFEST.in index e69de29..65d3748 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README.md CHANGELOG.md Cargo.lock Cargo.toml setup.cfg wassima/py.typed pyproject.toml +recursive-include tests * +recursive-include src * diff --git a/src/lib.rs b/src/lib.rs index 60f6647..3a58f89 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ fn root_der_certificates(py: Python) -> PyResult> { } #[pymodule] -fn rustls(_py: Python, m: &PyModule) -> PyResult<()> { +fn wassima(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(root_der_certificates, m)?)?; Ok(()) } diff --git a/wassima/__init__.py b/wassima/__init__.py index a39de22..9e1ddbc 100644 --- a/wassima/__init__.py +++ b/wassima/__init__.py @@ -8,7 +8,7 @@ from functools import lru_cache from ssl import DER_cert_to_PEM_cert -from .rustls import root_der_certificates +from .wassima import root_der_certificates @lru_cache() diff --git a/wassima/py.typed b/wassima/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/wassima/rustls.pyi b/wassima/wassima.pyi similarity index 100% rename from wassima/rustls.pyi rename to wassima/wassima.pyi