Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.02 KB

example-python-support.adoc

File metadata and controls

32 lines (18 loc) · 1.02 KB

Example: Python Support

This section demonstrates how to integrate Python support into Mill. We will define a simple PythonModule trait that can resolve dependencies, perform type checking on local code, and bundle an executable.

Note
This integration is for educational purposes only, showcasing common technique used in building language toolchains, and is not intended for production use.

PIP dependencies and bundling

As mentioned, The PythonModule examples here demonstrate how to add support for a new language toolchain in Mill. A production-ready version would require more work to enhance features and performance.