Исключение тестов из сборки Wheel

This commit is contained in:
2026-07-11 23:15:44 +03:00
parent 7dfd4a242b
commit b816a7766a

View File

@@ -1,5 +1,5 @@
[project] [project]
name = "drf-rack" name = "drf-rack"
version = "0.1.0" version = "0.1.0"
description = "DRF Rack library for xeaf.net" description = "DRF Rack library for xeaf.net"
readme = "README.md" readme = "README.md"
@@ -8,7 +8,7 @@ authors = [{name = "Nick V. Anokhin", email = "n.anokhin@xeaf.net"}]
classifiers = [ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
] ]
dependencies = [ dependencies = [
"boto3", "boto3",
"concurrent-log-handler", "concurrent-log-handler",
"django", "django",
@@ -33,13 +33,14 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["net"] packages = ["net"]
exclude = ["net/**/tests"]
# ---- НАСТРОЙКА ДЛЯ ПУБЛИКАЦИИ В GITEA ---- # ---- НАСТРОЙКА ДЛЯ ПУБЛИКАЦИИ В GITEA ----
[[tool.uv.index]] [[tool.uv.index]]
name = "xeaf-public" name = "xeaf-public"
url = "https://gitea.xeaf.net/api/packages/xeaf-public/pypi/simple/" url = "https://gitea.xeaf.net/api/packages/xeaf-public/pypi/simple/"
publish-url = "https://gitea.xeaf.net/api/packages/xeaf-public/pypi/" publish-url = "https://gitea.xeaf.net/api/packages/xeaf-public/pypi/"
explicit = true explicit = true
[tool.uv.sources] [tool.uv.sources]