generate_test_vars: move into clan_cli

Reduces overhead by not having to manage a separate package for this small tool
This commit is contained in:
DavHau
2025-09-16 15:01:12 +07:00
parent 1f3aa0075e
commit ea32fdbd93
12 changed files with 19 additions and 114 deletions

View File

@@ -6,16 +6,19 @@ build-backend = "setuptools.build_meta"
name = "clan"
description = "clan cli tool"
dynamic = ["version"]
scripts = { clan = "clan_cli.cli:main" }
license = { text = "MIT" }
[project.scripts]
clan = "clan_cli.cli:main"
clan-generate-test-vars = "clan_cli.generate_test_vars.cli:main"
[project.urls]
Homepage = "https://clan.lol/"
Documentation = "https://docs.clan.lol/"
Repository = "https://git.clan.lol/clan/clan-core"
[tool.setuptools.packages.find]
include = ["clan_lib*", "clan_cli*"]
include = ["clan_lib*", "clan_cli*", "generate_test_vars*"]
exclude = ["clan_lib.nixpkgs*", "result"]
[tool.setuptools.package-data]
@@ -55,4 +58,4 @@ warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
exclude = "clan_lib.nixpkgs"
exclude = "clan_lib.nixpkgs"