File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff 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"./dist/linux-x64-{ version } .tar.gz" )
57+ compress_files (linux_build_dir , f"./src/python_redlines/ 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"./dist/win-x64-{ version } .zip" )
61+ compress_files (windows_build_dir , f"./src/python_redlines/ dist/win-x64-{ version } .zip" )
6262
6363 print ("Build and compression complete." )
6464
Original file line number Diff line number Diff line change 22requires = [" hatchling" ]
33build-backend = " hatchling.build"
44
5- [tool .hatch .build .targets .wheel .force-include ]
6- "dist" = " python_redlines/dist"
7- "dist/linux-x64-0.0.1.tar.gz" = " python_redlines/dist/linux-x64-0.0.1.tar.gz"
8- "dist/win-x64-0.0.1.zip" = " python_redlines/dist/win-x64-0.0.1.zip"
5+ # [tool.hatch.build.targets.wheel.force-include]
6+ # "dist" = "python_redlines/dist"
7+ # "dist/linux-x64-0.0.1.tar.gz" = "python_redlines/dist/linux-x64-0.0.1.tar.gz"
8+ # "dist/win-x64-0.0.1.zip" = "python_redlines/dist/win-x64-0.0.1.zip"
9+
10+ [tool .hatch .build .targets .wheel ]
11+ artifacts = [
12+ " *.zip" ,
13+ " *.tar.gz" ,
14+ ]
915
1016[project ]
1117name = " python-redlines"
Original file line number Diff line number Diff line change 1+ ! *
You can’t perform that action at this time.
0 commit comments