forked from cpypasta/cotw-mod-builder
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (73 loc) · 2 KB
/
pyproject.toml
File metadata and controls
85 lines (73 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "modbuilder-revived"
version = "2.6.0"
description = "A tool that makes it easy to customize and create mods for theHunter: Call of the Wild (COTW)"
authors = [{ name = "Ryan Maxim" }]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.12"
dependencies = [
"deepmerge==2.*",
"FreeSimpleGUI==5.*",
"mmh3==5.0.1",
"numba==0.60.0",
"numpy==2.0.2",
"openpyxl==3.*",
"pyyaml==6.*",
"requests==2.*",
"rich==14.*",
]
[project.optional-dependencies]
dev = [
"pyinstaller>=6.15",
]
[project.urls]
Homepage = "https://github.com/RyMaxim/cotw-mod-builder"
Repository = "https://github.com/RyMaxim/cotw-mod-builder"
Releases = "https://github.com/RyMaxim/cotw-mod-builder/releases"
NexusMods = "https://www.nexusmods.com/thehuntercallofthewild/mods/410"
NexusModsReleases = "https://www.nexusmods.com/thehuntercallofthewild/mods/410?tab=files"
[project.gui-scripts]
modbuilder = "modbuilder.gui:main"
[tool.hatch.envs.default]
python = "3.12"
features = ["dev"]
[tool.hatch.envs.default.scripts] # defaults for Windows
modbuilder = 'python modbuilder'
build = 'cmd /c ".\\scripts\\build.bat"'
pack = 'cmd /c ".\\scripts\\pack.bat"'
[tool.hatch.envs.default.overrides]
platform.macos.scripts = [
'build=sh ./scripts/build.sh',
'pack=sh ./scripts/pack.sh',
]
platform.linux.scripts = [
'build=sh ./scripts/build.sh',
'pack=sh ./scripts/pack.sh',
]
[tool.hatch.envs.dev]
template = "default"
description = "Run Mod Builder with asset version checks disabled"
[tool.hatch.envs.dev.env-vars]
MODBUILDER_SKIP_BUNDLE_VERSION_CHECK = "1"
[tool.hatch.build.targets.wheel]
packages = ["modbuilder", "deca"]
include = [
"modbuilder/org/**/*",
"modbuilder/plugins/*.py",
"modbuilder/saves/**/*",
"modbuilder/name_map.yaml",
"deca/*.py",
]
[tool.hatch.build.targets.sdist]
include = [
"modbuilder/**",
"deca/**",
"README.md",
"LICENSE",
]
[tool.ruff.lint]
ignore = ["N813"]