Skip to content

Commit 841bd82

Browse files
committed
Trying another packaging approach.
1 parent 846a5c6 commit 841bd82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build_differ.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ def main():
5454

5555
# Compress the Linux build
5656
linux_build_dir = './csproj/bin/Release/net8.0/linux-x64'
57-
compress_files(linux_build_dir, f"./src/python_redlines/dist/linux-x64-{version}.tar.gz")
57+
compress_files(linux_build_dir, f"./dist/linux-x64-{version}.tar.gz")
5858

5959
# Compress the Windows build
6060
windows_build_dir = './csproj/bin/Release/net8.0/win-x64'
61-
compress_files(windows_build_dir, f"./src/python_redlines/dist/win-x64-{version}.zip")
61+
compress_files(windows_build_dir, f"./dist/win-x64-{version}.zip")
6262

6363
print("Build and compression complete.")
6464

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

5-
#[tool.hatch.build.targets.wheel.force-include]
6-
#"dist" = "python_redlines/dist"
5+
[tool.hatch.build.targets.wheel.force-include]
6+
"dist" = "python_redlines/dist"
77
#"dist/linux-x64-0.0.1.tar.gz" = "python_redlines/dist/linux-x64-0.0.1.tar.gz"
88
#"dist/win-x64-0.0.1.zip" = "python_redlines/dist/win-x64-0.0.1.zip"
99

0 commit comments

Comments
 (0)