Skip to content

Commit 521aa20

Browse files
committedDec 2, 2024·
Do not exclude "opt" dir on Android, exclude .hpp from packaging
1 parent 8cb71ce commit 521aa20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/serious_python/bin/package_command.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const platforms = {
5454
}
5555
};
5656

57-
const junkFileExtensionsDesktop = [".c", ".h", ".typed", ".a", ".pdb"];
57+
const junkFileExtensionsDesktop = [".c", ".h", ".hpp", ".typed", ".a", ".pdb"];
5858
const junkFileExtensionsMobile = [...junkFileExtensionsDesktop, ".exe", ".dll"];
5959

6060
const junkFilesDesktop = ["__pycache__"];

‎src/serious_python_android/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ android.defaultConfig.ndk.abiFilters.each { abi ->
116116
}
117117

118118
tasks.register("zipSitePackages_$abi", Zip) {
119-
from fileTree(dir: "$srcDir/$abi", exclude: ["opt"])
119+
from fileTree(dir: "$srcDir/$abi")
120120
archiveFileName = "libpythonsitepackages.so"
121121
destinationDirectory = file("src/main/jniLibs/$abi")
122122
dependsOn "jniCleanUp_$abi", "untarFile_$abi"

0 commit comments

Comments
 (0)
Please sign in to comment.