-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove incorrect python-source config from pyproject.toml
Removed the python-source = "python" configuration from pyproject.toml since Python bindings are implemented directly in src/python.rs rather than in a separate Python source directory. This should resolve the PyInit_self_encryption symbol warning during build.
- Loading branch information
Showing
3 changed files
with
20 additions
and
643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,41 +2,25 @@ | |
requires = ["maturin>=1.0,<2.0"] | ||
build-backend = "maturin" | ||
|
||
[tool.maturin] | ||
features = ["python"] | ||
module-name = "_self_encryption" | ||
bindings = "pyo3" | ||
develop = true | ||
manifest-path = "Cargo.toml" | ||
python-packages = ["self_encryption"] | ||
compatibility = "manylinux2014" | ||
|
||
[project] | ||
name = "self_encryption" | ||
version = "0.32.4" | ||
description = "Self encrypting files (convergent encryption plus obfuscation)" | ||
requires-python = ">=3.7" | ||
license = {text = "GPL-3.0"} | ||
authors = [{name = "MaidSafe Developers", email = "[email protected]"}] | ||
dependencies = [ | ||
"click>=8.0.0", | ||
"pip>=24.0", | ||
authors = [ | ||
{name = "MaidSafe Developers", email = "[email protected]"} | ||
] | ||
requires-python = ">=3.8" | ||
license = {text = "GPL-3.0"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Rust", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pip>=24.0", | ||
"pytest>=7.4.4", | ||
] | ||
|
||
[project.scripts] | ||
self-encryption = "self_encryption.cli:cli" | ||
|
||
[tool.pytest.ini_options] | ||
testpaths = ["tests"] | ||
python_files = ["test_*.py"] | ||
[tool.maturin] | ||
features = ["python"] | ||
module-name = "self_encryption" |
Oops, something went wrong.