Files
metabuilder/mojo/examples/python-interop/pyproject.toml
johndoe6345789 d772201bf1 feat: Replace placeholder examples with official Modular Mojo examples
Added official examples from github.com/modular/modular:
- gpu-intro, gpu-functions, gpu-block-and-warp (GPU programming)
- layout_tensor, layouts (tensor operations)
- life (Conway's Game of Life)
- operators (custom operators)
- process (subprocess handling)
- python-interop (Python integration)
- testing (unit test patterns)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 17:40:19 +00:00

23 lines
568 B
TOML
Executable File

[project]
authors = [{name = "Modular", email = "hello@modular.com"}]
dependencies = []
name = "Python to Mojo interoperability"
requires-python = ">= 3.11"
version = "0.1.0"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.pixi.workspace]
channels = ["conda-forge", "https://conda.modular.com/max-nightly/"]
platforms = ["osx-arm64", "linux-aarch64", "linux-64"]
[tool.pixi.dependencies]
mojo = "<1.0.0"
[tool.pixi.tasks]
hello = "python hello.py"
mandelbrot = "python mandelbrot.py"
test = { depends-on = ["hello", "mandelbrot"] }