Skip to content

xulongwu4/rules_python_pdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bazel rules to be used with pdm

Usage

Add the following content to your WORKSPACE:

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
    name = "rules_python_pdm",
    remote = "https://github.com/xulongwu4/rules_python_pdm.git",
    tag = "v1.1",
)

load("@rules_python_pdm//:environment.bzl", "pdm_environment")

pdm_environment(
    name = "pdm_environment",
)

register_toolchains("@pdm_environment//:pdm_toolchain")