Skip to content

Commit 1b38d08

Browse files
authored
Remove plugin/path/backend variables from pants_from_sources script. (#90)
If someone wanted to override any of these, they could do so via environment variables. But I've never seen it be necessary to actually commit an edit, because when testing with a wildly different version of Pants, it's usually a temporary measure.
1 parent 49e3868 commit 1b38d08

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

pants_from_sources

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,7 @@ PANTS_SOURCE="${PANTS_SOURCE:-../pants}"
1616
# you won't want pantsd running. You can override this by setting ENABLE_PANTSD=true.
1717
ENABLE_PANTSD="${ENABLE_PANTSD:-false}"
1818

19-
backend_packages=(
20-
)
21-
22-
pythonpath=(
23-
)
24-
25-
plugins=(
26-
)
27-
28-
function string_list() {
29-
eval local -r list_variable="\${$1[@]}"
30-
31-
echo -n "["
32-
for item in ${list_variable}; do
33-
echo -n "\"${item}\","
34-
done
35-
echo -n "]"
36-
}
37-
3819
export PANTS_VERSION="$(cat "${PANTS_SOURCE}/src/python/pants/VERSION")"
39-
export PANTS_PLUGINS="$(string_list plugins)"
40-
export PANTS_PYTHONPATH="+$(string_list pythonpath)"
41-
export PANTS_BACKEND_PACKAGES="+$(string_list backend_packages)"
4220
export PANTS_PANTSD="${ENABLE_PANTSD}"
4321
export no_proxy="*"
4422

0 commit comments

Comments
 (0)