-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Buck2 is just as good at downloading wheels and running Python executables as pipx. If elk can write out a BUCK file describing how to fetch itself and poetry, then you can make it so pipx does not need to be installed to work with elk. If all goes well you may never need pipx again, as you can upgrade elk using the bootstrapped version.
This would require publishing elk to pypi. Or making elk support git dependencies.
poetry elk bootstrap elk/BUCK
cat elk/BUCKremote_file(name = "poetry.whl", ...)
prebuilt_python_library(name = "poetry", src = ":poetry.whl", deps =[...], ...)
remote_file(name = "elk.whl",...)
prebuilt_python_library(name = "poetry-plugin-elk", src = ":elk.whl", deps =["poetry"], ...)
python_binary(name = "elk", ...)buck2 run elk:elkReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels