mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
16 lines
396 B
Bash
Executable File
16 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Builds a self-contained archive from the open source release of EE CLI tool.
|
|
|
|
EE_CLI_DIR="earthengine-cli"
|
|
mkdir -p $EE_CLI_DIR/third_party
|
|
pip install -t $EE_CLI_DIR/third_party earthengine-api
|
|
|
|
cp eecli.py commands.py utils.py $EE_CLI_DIR/
|
|
|
|
cp eecli_wrapper.py $EE_CLI_DIR/earthengine
|
|
chmod +x $EE_CLI_DIR/earthengine
|
|
|
|
tar cvf earthengine-cli.tar.gz $EE_CLI_DIR
|
|
rm -rf $EE_CLI_DIR
|