-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pip package metadata #8412
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Halide is a programming language designed to make it easier to write | ||
high-performance image and array processing code on modern machines. Halide | ||
currently targets: | ||
|
||
- CPU architectures: X86, ARM, Hexagon, PowerPC, RISC-V | ||
- Operating systems: Linux, Windows, macOS, Android, iOS, Qualcomm QuRT | ||
- GPU Compute APIs: CUDA, OpenCL, Apple Metal, Microsoft Direct X 12, Vulkan | ||
|
||
Rather than being a standalone programming language, Halide is embedded in | ||
Python. This means you write Python code that builds an in-memory representation | ||
of a Halide pipeline using Halide's Python API. You can then compile this | ||
representation to an object file, or JIT-compile it and run it in the same | ||
process. | ||
|
||
## Using Halide from C++ | ||
Halide is also available as a C++ library. This package provides the development | ||
files necessary to use Halide from C++, including a CMake package. On Linux and | ||
macOS, CMake's `find_package` command should find Halide as long as you're in | ||
the same virtual environment you installed it in. On Windows, you will need to | ||
add the virtual environment root directory to `CMAKE_PREFIX_PATH`. This can be | ||
done by running `set CMAKE_PREFIX_PATH=%VIRTUAL_ENV%` in `cmd`. | ||
|
||
Other build systems can find the Halide root path by running `python -c | ||
"import halide; print(halide.install_dir())"`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,20 +8,65 @@ build-backend = "scikit_build_core.build" | |
[project] | ||
name = "halide" | ||
authors = [{ name = "The Halide team", email = "halide-dev@lists.csail.mit.edu" }] | ||
maintainers = [{ name = "Alex Reinking", email = "areinking@adobe.com" }] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's open an issue to add a virtual email address here that will go to multiple people, in case you are hit by a bus |
||
description = "Halide is a programming language designed to make it easier to write high-performance image and array processing code." | ||
license = { file = "LICENSE.txt" } | ||
readme = "README.md" | ||
readme = "./packaging/pip/README.md" | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"numpy", | ||
"imageio", | ||
] | ||
dynamic = ['version'] | ||
keywords = [ | ||
"array", | ||
"compiler", | ||
"domain-specific language", | ||
"dsl", | ||
"gpu", | ||
"hexagon", | ||
"image processing", | ||
"machine learning", | ||
"performance", | ||
"programming language", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: GPU", | ||
"Environment :: GPU :: NVIDIA CUDA", | ||
"Environment :: WebAssembly", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science / Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Multimedia :: Graphics", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"Topic :: Scientific/Engineering :: Image Processing", | ||
"Topic :: Software Development :: Code Generators", | ||
"Topic :: Software Development :: Compilers", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://halide-lang.org" | ||
documentation = "https://halide-lang.org/docs" | ||
repository = "https://github.com/halide/Halide.git" | ||
Homepage = "https://halide-lang.org" | ||
Documentation = "https://github.com/halide/Halide/blob/main/doc/Python.md" | ||
"Documentation (C++)" = "https://halide-lang.org/docs" | ||
Issues = "https://github.com/halide/Halide/issues" | ||
Repository = "https://github.com/halide/Halide.git" | ||
|
||
[tool.scikit-build] | ||
cmake.version = ">=3.28" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add WebAssembly here