Skip to content

Commit

Permalink
Migrate setup.py/MANIFEST.in to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimes committed Sep 15, 2024
1 parent cac73ac commit 5ea7c39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
10 changes: 0 additions & 10 deletions MANIFEST.in

This file was deleted.

12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 61.0.0", "wheel"]
requires = ["setuptools >= 74.1.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -64,6 +64,11 @@ Repository = "https://github.com/hajimes/mmh3"
Changelog = "https://github.com/hajimes/mmh3/blob/master/CHANGELOG.md"
"Bug Tracker" = "https://github.com/hajimes/mmh3/issues"

[tool.setuptools]
ext-modules = [
{name = "mmh3", sources=["./src/mmh3/mmh3module.c", "./src/mmh3/murmurhash3.c"]}
]

[tool.isort]
profile = "black"
src_paths = ["src/mmh3/__init__.pyi", "util", "tests", "benchmark", "docs"]
Expand All @@ -82,4 +87,7 @@ ignore-paths = [
jobs = 0
# import-error: An error tricky to resolve, especially on super-linter.
# wrong-import-order: Respect isort's import order.
disable = ["import-error", "wrong-import-order"]
disable = [
"import-error",
"wrong-import-order"
]
12 changes: 0 additions & 12 deletions setup.py

This file was deleted.

0 comments on commit 5ea7c39

Please sign in to comment.