-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.plzconfig
More file actions
192 lines (159 loc) · 5.01 KB
/
Copy path.plzconfig
File metadata and controls
192 lines (159 loc) · 5.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[Please]
Version = >=17.25.1
[Build]
hashcheckers = sha256
[Plugin "cc"]
Target = //plugins:cc
LdGarbageCollection = true
DefaultOptCFlags = -std=c99
DefaultOptCFlags = -Os
DefaultOptCFlags = -DNDEBUG
DefaultOptCFlags = -Wall
DefaultOptCFlags = -Wextra
DefaultOptCFlags = -Werror
DefaultOptCFlags = -flto
DefaultOptCFlags = -D_LARGEFILE64_SOURCE
DefaultOptCFlags = -D_FILE_OFFSET_BITS=64
DefaultDbgCFlags = -std=c99
DefaultDbgCFlags = -g3
DefaultDbgCFlags = -DDEBUG
DefaultDbgCFlags = -Wall
DefaultDbgCFlags = -Wextra
DefaultDbgCFlags = -Werror
DefaultDbgCFlags = -D_LARGEFILE64_SOURCE
DefaultDbgCFlags = -D_FILE_OFFSET_BITS=64
[Plugin "go"]
Target = //plugins:go
ImportPath = github.com/please-build/python-rules
gotool = //third_party/go:toolchain|go
Stdlib = //third_party/go:std
[Plugin "python"]
DisableVendorFlags = true
[Plugin "shell"]
Target = //plugins:shell
[Plugin "e2e"]
Target = //plugins:e2e
PleaseVersion = 17.25.1
DefaultPlugin = //test:python-rules
[PluginDefinition]
name = python
[PluginConfig "default_interpreter"]
ConfigKey = DefaultInterpreter
DefaultValue = python3
Inherit = true
Help = The default Python interpreter to use when building .pex files.
[PluginConfig "default_runtime_interpreters"]
ConfigKey = DefaultRuntimeInterpreters
Optional = true
Repeatable = true
Inherit = true
Help = A list of possible paths to Python interpreters with which to run .pex files.
[PluginConfig "default_runtime_interpreter_args"]
ConfigKey = DefaultRuntimeInterpreterArgs
Optional = true
Repeatable = true
Inherit = true
Help = A list of additional arguments to pass to the Python interpreter when running .pex files.
[PluginConfig "pex_tool"]
ConfigKey = PexTool
DefaultValue = //tools:please_pex
Inherit = true
Help = A path or build label for the pex tool, which is used to create .pex files from python sources
[PluginConfig "test_runner"]
ConfigKey = TestRunner
DefaultValue = unittest
Help = The test runner to use e.g. unittest or pytest
[PluginConfig "testrunner_deps"]
ConfigKey = TestrunnerDeps
DefaultValue = //third_party/python:unittest_bootstrap
Help = A label for a build target containting the dependencies of the test runner
[PluginConfig "test_runner_bootstrap"]
ConfigKey = TestrunnerBootstrap
DefaultValue = ""
[PluginConfig "debugger"]
ConfigKey = Debugger
DefaultValue = pdb
Inherit = true
Help = The debugger to use when debugging python binaries
[PluginConfig "module_dir"]
ConfigKey = ModuleDir
DefaultValue = third_party.python
Help = The path to the third party python directory, in python import path format e.g. third_party.py3 for //third_party/py3
[PluginConfig "pip_tool"]
ConfigKey = PipTool
DefaultValue = ""
Optional = true
Inherit = true
Help = The tool to use for pip. Defaults to using python -m pip
[PluginConfig "default_pip_repo"]
ConfigKey = DefaultPipRepo
DefaultValue = ""
Optional = true
Help = The default repository to look for pip dependencies in
[PluginConfig "use_pypi"]
ConfigKey = UsePypi
DefaultValue = true
Type = bool
Help = Whether to use PyPi as a repository for python_wheel
[PluginConfig "pip_flags"]
ConfigKey = PipFlags
DefaultValue = ""
Optional = true
Help = Any additional flags to pass to pip
[PluginConfig "disable_vendor_flags"]
ConfigKey = DisableVendorFlags
DefaultValue = false
Inherit = true
Type = bool
Help = Disables any vendor specific flags e.g. the --system flag passed to debians fork of pip
[PluginConfig "pip_compile_flags"]
ConfigKey = PipCompileFlags
DefaultValue = ""
Optional = true
Inherit = true
Help = Flags to pass to pip when compiling
[PluginConfig "wheel_repo"]
ConfigKey = WheelRepo
Optional = true
Help = The root URL for the wheel repo
[PluginConfig "wheel_name_scheme"]
ConfigKey = WheelNameScheme
Optional = true
Repeatable = true
Help = A format string for the wheel repo URL. Format fields url_base, package_name, initial, and version. Initial is the first character of the package name.
[PluginConfig "wheel_tool"]
ConfigKey = WheelTool
Optional = true
Inherit = true
Help = The tool used to resolve wheels with using the pypi API.
[PluginConfig "wheel_dist_info"]
ConfigKey = WheelDistInfo
Type = bool
DefaultValue = false
Optional = true
Inherit = true
Help = Controls whether python_wheel outputs the module's .dist-info directory by default.
[PluginConfig "prereleases"]
DefaultValue = false
Type = bool
Help = Allow prereleased versions in python_wheel targets
[PluginConfig "require_licences"]
DefaultValue = false
Type = bool
Inherit = true
Help = If set, the licences field on pip_library and python_wheel will be mandatory
[PluginConfig "verbosity"]
DefaultValue = "info"
Help = Passes verbosity level to wheel_tool, for example: wheel_tool --verbosity info
Optional = true
[PluginConfig "default_preamble_verbosity"]
ConfigKey = DefaultPreambleVerbosity
DefaultValue = error
Inherit = true
Help = The default logging level for the .pex preamble. Must be one of trace, debug, info, warn, error or fatal.
[PluginConfig "feature_flags"]
DefaultValue = ""
Repeatable = true
Optional = true
Inherit = true
Help = Flags to enable in-development features, or toggle breaking changes