python.mkPythonProject
import { python } from "https://garn.io/ts/v0.0.20/mod.ts";
const { mkPythonProject } = python;
Creates a pyproject.toml based python project.
This will create a Project with
- a
pkg
key that builds the entire python project; - a default shell that provides all python dependencies as well as all scripts defined via pyproject.toml
Information like name, version, description are retrieved from the pyproject.toml file.
function mkPythonProject(args: {
src: string;
pythonInterpreter: Package;
}): Project & {package: Package;
devShell: Environment;
};