bazel_rules_pex:Bazel的Python PEX规则

时间:2021-04-29 20:10:28
【文件属性】:
文件名称:bazel_rules_pex:Bazel的Python PEX规则
文件大小:24KB
文件格式:ZIP
更新时间:2021-04-29 20:10:28
python packaging build-automation build-system Python Bazel的Python pex规则 规则 巨集 概述 设置 在您的WORKSPACE文件中添加以下内容: git_repository( name = "io_bazel_rules_pex", remote = "https://github.com/benley/bazel_rules_pex.git", tag = "0.3.0", ) load("@io_bazel_rules_pex//pex:pex_rules.bzl", "pex_repositories") pex_repositories() 在要使用这些规则的BUILD文件中,或者在tools/build_rules/prelude_bazel文件中,如果希望它们在tools/build_rules/prelude_bazel显示,请添加: load( "@io_bazel
【文件预览】:
bazel_rules_pex-master
----.travis.yml(1KB)
----BUILD(317B)
----tests()
--------BUILD(162B)
--------third_party_test.py(196B)
----pex()
--------wrapper()
--------BUILD(2KB)
--------testlauncher.sh.template(336B)
--------pex_rules.bzl(18KB)
----examples()
--------foo.py(144B)
--------BUILD(714B)
--------foo_test.py(302B)
--------interpreter_test.py(1KB)
----.gitignore(21B)
----third_party()
--------example()
----update_readme.sh(82B)
----README.md(21KB)
----WORKSPACE(584B)
----LICENSE.txt(11KB)

网友评论