Let's say we have a small bash project, with no more than a handful of files, and it depends on jq
and curl
.
Can we, perhaps by adding a bit of wrapper Python code, make such a bash project pip installable?
For example, could we make the following bash project installable with pip
?
#!/usr/bin/env bash
source dir/some_file.bash # Sources some trivial bash code
# Here we make use of our dependencies:
curl --silent wttr.in/Paris?format=j1 | jq .current_condition
./other_dir/another_file.bash # Executes some trivial bash code
To clarify: The call pip install our_project
, should completely install our project, including its dependencies.