diff --git a/bazel/website/tools/pelican/BUILD b/bazel/website/tools/pelican/BUILD index 75c1e6e59..5c4a27c48 100644 --- a/bazel/website/tools/pelican/BUILD +++ b/bazel/website/tools/pelican/BUILD @@ -1,5 +1,6 @@ load("@rules_pkg//:pkg.bzl", "pkg_tar") load("@rules_python//python/entry_points:py_console_script_binary.bzl", "py_console_script_binary") +load("@website_pip3//:requirements.bzl", "requirement") py_console_script_binary( name = "pelican", @@ -13,22 +14,17 @@ py_console_script_binary( requirement("packaging"), requirement("pyyaml"), ], - entry_point_alias = pip_entry_point, visibility = ["//visibility:public"], ) -alias( +py_console_script_binary( name = "pelican-quickstart", - actual = pip_entry_point( - pkg = "pelican", - script = "pelican-quickstart", - ), + pkg = "@website_pip3//pelican", + script = "pelican-quickstart", ) -alias( +py_console_script_binary( name = "pelican-themes", - actual = py_console_script_binary( - pkg = "@website_pip3//pelican", - script = "pelican-themes", - ), + pkg = "@website_pip3//pelican", + script = "pelican-themes", )