Skip to content

Commit

Permalink
chore: use setuptools build backend
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Jan 8, 2025
1 parent 004a0c8 commit d544225
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
]
keywords = ["cython", "form-data", "forms", "http", "multipart", "streaming", "web"]

dependencies = [
"smart-open>=7.0.5",
]
Expand All @@ -37,8 +36,14 @@ Repository = "https://github.com/siddhantgoel/streaming-form-data"
Documentation = "https://streaming-form-data.readthedocs.io"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
package-dir = {"" = "src"}
ext-modules = [
{name = "streaming_form_data._parser", sources = ["src/streaming_form_data/_parser.c"]}
]

[dependency-groups]
dev = [
Expand Down

0 comments on commit d544225

Please sign in to comment.