diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3e793f618cf..e8c5ee3847a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -86,7 +86,7 @@ jobs: - name: install-deps run: | python -m pip install --upgrade pip - pip install pytest setuptools wheel twine + pip install pytest setuptools wheel twine importlib-metadata - name: build if: matrix.os == 'ubuntu-latest' diff --git a/README.md b/README.md index 771fc8c1053..3ac9838d48b 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ https://github.com/Tencent/ncnn/releases/latest Source - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-full-source.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-full-source.zip) @@ -97,8 +97,8 @@ https://github.com/Tencent/ncnn/releases/latest Android - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-android-vulkan.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-android-vulkan-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-android-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-android.zip) @@ -108,17 +108,17 @@ https://github.com/Tencent/ncnn/releases/latest -Android cpuonly +Android shared - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-android.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-android-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-android-vulkan-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-android-shared.zip) - + @@ -131,46 +131,28 @@ https://github.com/Tencent/ncnn/releases/latest iOS - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-vulkan.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-vulkan-bitcode.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ios-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ios.zip) - + [](https://github.com/Tencent/ncnn/actions?query=workflow%3Aios) - - - -iOS cpuonly - - - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-bitcode.zip) - iOS-Simulator - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-simulator-vulkan.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-simulator-vulkan-bitcode.zip) - - - - -iOS-Simulator cpuonly - - - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-simulator.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ios-simulator-bitcode.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ios-simulator-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ios-simulator.zip) - + @@ -183,51 +165,35 @@ https://github.com/Tencent/ncnn/releases/latest macOS - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-macos-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-macos-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-macos.zip) - + [](https://github.com/Tencent/ncnn/actions?query=workflow%3Amacos) - - - -macOS cpuonly - - - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-macos.zip) - Mac-Catalyst - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-mac-catalyst-vulkan.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-mac-catalyst-vulkan-bitcode.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-mac-catalyst-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-mac-catalyst.zip) - + [](https://github.com/Tencent/ncnn/actions?query=workflow%3Amac-catalyst) - - - -Mac-Catalyst cpuonly - - - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-mac-catalyst.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-mac-catalyst-bitcode.zip) - watchOS - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-watchos.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-watchos.zip) @@ -240,7 +206,7 @@ https://github.com/Tencent/ncnn/releases/latest watchOS-Simulator - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-watchos-simulator.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-watchos-simulator.zip) @@ -248,7 +214,8 @@ https://github.com/Tencent/ncnn/releases/latest tvOS - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-tvos.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-tvos-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-tvos.zip) @@ -261,28 +228,41 @@ https://github.com/Tencent/ncnn/releases/latest tvOS-Simulator - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-tvos-simulator.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-tvos-simulator-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-tvos-simulator.zip) -Apple xcframework +visionOS - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-apple-vulkan.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-apple-vulkan-bitcode.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-visionos.zip) + [](https://github.com/Tencent/ncnn/actions?query=workflow%3Avisionos) + -Apple xcframework cpuonly +watchOS-Simulator + + + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-visionos-simulator.zip) + + + + +Apple xcframework - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-apple.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-apple-bitcode.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-apple-vulkan.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-apple.zip) + + + @@ -301,8 +281,8 @@ https://github.com/Tencent/ncnn/releases/latest Ubuntu 20.04 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ubuntu-2004.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ubuntu-2004-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ubuntu-2004.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ubuntu-2004-shared.zip) @@ -315,8 +295,8 @@ https://github.com/Tencent/ncnn/releases/latest Ubuntu 22.04 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ubuntu-2204.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-ubuntu-2204-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ubuntu-2204.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-ubuntu-2204-shared.zip) @@ -335,8 +315,8 @@ https://github.com/Tencent/ncnn/releases/latest VS2015 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2015.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2015-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2015.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2015-shared.zip) @@ -349,8 +329,8 @@ https://github.com/Tencent/ncnn/releases/latest VS2017 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2017.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2017-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2017.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2017-shared.zip) @@ -358,8 +338,8 @@ https://github.com/Tencent/ncnn/releases/latest VS2019 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2019.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2019-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2019.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2019-shared.zip) @@ -367,8 +347,8 @@ https://github.com/Tencent/ncnn/releases/latest VS2022 - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2022.zip) - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-windows-vs2022-shared.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2022.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-windows-vs2022-shared.zip) @@ -387,7 +367,7 @@ https://github.com/Tencent/ncnn/releases/latest WebAssembly - [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240102-webassembly.zip) + [](https://github.com/Tencent/ncnn/releases/latest/download/ncnn-20240410-webassembly.zip) diff --git a/pyproject.toml b/pyproject.toml index 84bca11705f..e2945c8b6ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,5 +4,6 @@ requires = [ "wheel", "ninja; sys_platform != 'win32'", "cmake>=3.12", + "importlib-metadata", ] build-backend = "setuptools.build_meta"