Skip to content

Commit 130beb9

Browse files
committed
chore: Fix package build
1 parent 435cb6a commit 130beb9

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ release-beta:
66

77
publish:
88
rm -rf dist
9-
python setup.py sdist
9+
python -m build --installer uv
1010
twine check dist/*
1111
twine upload dist/*
1212
git push --follow-tags

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ dev = [
4343
"typing-extensions",
4444
"mongo-types @ git+https://github.com/sbdchd/mongo-types.git@main",
4545
"django-types",
46+
"build>=1.2.2.post1",
4647
]
4748

4849
[tool.ruff]
@@ -75,8 +76,7 @@ requires = ["hatchling", "hatch-vcs"]
7576
build-backend = "hatchling.build"
7677

7778
[tool.hatch.build]
78-
include = ["django-mongoengine/**"]
79-
exclude = ["doc", "docs", "tests", "example"]
79+
include = ["django_mongoengine/**"]
8080

8181
[tool.hatch.build.targets.wheel]
8282
packages = ["django-mongoengine"]

uv.lock

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)