Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}
;
§
mkPythonProject(args: {
src: string;
pythonInterpreter: Package;
}
): Project & {
package: Package;
devShell: Environment;
}
[src]

§Parameters

§
args: {
src: string;
pythonInterpreter: Package;
}
[src]

§Return Type

§
Project & {
package: Package;
devShell: Environment;
}
[src]