File tree Expand file tree Collapse file tree 5 files changed +22
-11
lines changed Expand file tree Collapse file tree 5 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ DefaultValue = python3
21
21
22
22
[PluginConfig "pex_tool"]
23
23
ConfigKey = PexTool
24
- DefaultValue = //tools/ please_pex
24
+ DefaultValue = //tools: please_pex
25
25
26
26
[PluginConfig "interpreter_options"]
27
27
ConfigKey = InterpreterOptions
Original file line number Diff line number Diff line change
1
+ Version 0.4.1
2
+ -------------
3
+ * Pull please_pex from release page as remote_file
4
+
1
5
Version 0.4.0
2
6
-------------
3
7
* Add please_pex tool to releases page
Original file line number Diff line number Diff line change 1
- 0.4.0
1
+ 0.4.1
Original file line number Diff line number Diff line change 1
- # Once pex tool is on the plugin releases page we can download the binary with a remote_file here. Same with the whele_resolver
2
-
3
- # remote_file(
4
- # name = "please_pex",
5
- # url = "https://www.github.com/please-build/python_rules/...",
6
- # )
1
+ remote_file (
2
+ name = "please_pex" ,
3
+ url = "https://github.com/please-build/python-rules/releases/download/v0.4.0/please_pex" ,
4
+ extract = False ,
5
+ binary = True ,
6
+ visibility = ["PUBLIC" ],
7
+ out = "please_pex_tool" ,
8
+ )
7
9
8
10
# remote_file(
9
11
# name = "wheel_resolver",
Original file line number Diff line number Diff line change 1
1
subinclude ("//build_defs:python" )
2
2
3
- go_binary (
3
+ filegroup (
4
4
name = "please_pex" ,
5
+ srcs = [":pex_main" ],
6
+ visibility = ["PUBLIC" ],
7
+ labels = ["hlink:plz-out/package" ],
8
+ )
9
+
10
+ go_binary (
11
+ name = "pex_main" ,
5
12
srcs = ["pex_main.go" ],
6
13
deps = [
7
14
"//third_party/go:cli-init" ,
8
15
"//third_party/go:go-logging.v1" ,
9
16
"//tools/please_pex/pex" ,
10
17
],
11
- visibility = ["PUBLIC" ],
12
- labels = ["hlink:plz-out/package" ],
13
18
)
14
19
15
20
python_test (
You can’t perform that action at this time.
0 commit comments