Skip to content

Commit 215c65e

Browse files
committed
pyproject.toml updated, hatch_build.py updated
1 parent 9b21aaa commit 215c65e

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def initialize(self, version, build_data):
5555
# Get needed params
5656
current_os = platform.system().lower()
5757
arch = platform.machine().lower()
58-
print(f"OS: {current_os}, arch: {arch}, pwd: {os.curdir}")
58+
print(f"OS: {current_os}, arch: {arch}")
5959
# Build lua for linux
6060
lua_version = "5.4.8"
6161
lua_src = f"lua-{lua_version}.tar.gz"

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ Repository = "https://github.com/DarkCaster/Perpetual.git"
2020
[tool.hatch.version]
2121
source = "vcs"
2222

23+
[tool.hatch.build]
24+
include = [ "build-mingw.sh", "*.patch", "*.sha256", ]
25+
2326
[tool.hatch.build.targets.sdist]
2427
packages = ["python_lua_helper"]
25-
include = [
26-
"/build-mingw.sh",
27-
"/*.patch",
28-
"/*.sha256",
29-
"/lua-windows-*",
30-
]
28+
include = [ "/lua-windows-*" ]
3129

3230
[tool.hatch.build.targets.wheel]
3331
packages = ["python_lua_helper"]

0 commit comments

Comments
 (0)