Skip to content

Commit

Permalink
trying to match py-pkg setup as close as possible
Browse files Browse the repository at this point in the history
to last attempt
  • Loading branch information
2bndy5 committed Dec 30, 2023
1 parent f719bcb commit f006762
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion cpp-linter-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "cpp_linter"
crate-type = ["cdylib"]
crate-type = ["lib", "cdylib"]

[dependencies]
pyo3 = "0.20.0"
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions cpp-linter-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ classifiers = [
]
dynamic = ["version"]

[project.optional-dependencies]
tests = [
"pytest",
]

[project.scripts]
cpp-linter = "cpp_linter.entry_point:main"

Expand All @@ -45,5 +40,4 @@ source = "https://github.com/cpp-linter/cpp-linter"
tracker = "https://github.com/cpp-linter/cpp-linter/issues"

[tool.maturin]
python-source = "python"
features = ["pyo3/extension-module"]

0 comments on commit f006762

Please sign in to comment.