From 151627d3f5e0a23c59c2e5b4fbb71cf9aa85a9ff Mon Sep 17 00:00:00 2001 From: David Irvine Date: Thu, 28 Nov 2024 22:09:02 +0000 Subject: [PATCH] fix: python min version --- pyproject.toml | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a27e8310..e1e69a758 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,29 +2,46 @@ requires = ["maturin>=1.0,<2.0"] build-backend = "maturin" +[tool.maturin] +features = ["python"] +module-name = "_self_encryption" +python-source = "self_encryption" +bindings = "pyo3" +develop = true +manifest-path = "Cargo.toml" +python-packages = ["self_encryption"] +compatibility = "manylinux2014" +skip-auditwheel = false + [project] name = "self_encryption" -requires-python = ">=3.7" +version = "0.32.4" +description = "Self encrypting files (convergent encryption plus obfuscation)" +readme = "README.md" +requires-python = ">=3.8" +license = "GPL-3.0" +authors = [ + {name = "MaidSafe Developers", email = "dev@maidsafe.net"} +] classifiers = [ "Programming Language :: Python :: 3", "Programming Language :: Rust", "Operating System :: OS Independent", ] -dependencies = [ - "pip>=24.0", + +[project.urls] +Homepage = "https://maidsafe.net" +Documentation = "https://docs.rs/self_encryption" +Repository = "https://github.com/maidsafe/self_encryption" + +[project.optional-dependencies] +test = [ "pytest>=7.4.4", - "click>=8.0.0", ] [project.scripts] self-encryption = "self_encryption.cli:cli" -[tool.maturin] -features = ["python"] -module-name = "self_encryption._self_encryption" -bindings = "pyo3" -develop = true - [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"]