Skip to content

Commit c90ecdc

Browse files
authored
Update README.md (#42)
Update the `gtar` command usage
1 parent 4f88055 commit c90ecdc

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ python3 -m pip install . \
5757
--target bin/lib/ \
5858
# Needs to match the platform Splunk is built and
5959
# ran on, NOT the one you're writing your App on
60-
--platform manylinux2014_x86_64 \
60+
--platform manylinux2014_aarch64 \
6161
--only-binary=:all:
6262

6363
gtar --transform='s,^,<your_app>/,' \
6464
--exclude="__pycache__" \
65-
--exclude=".keep" \
66-
-czf dist/<your_app>.tgz .
65+
-czf dist/<your_app>.tgz \
66+
bin default
6767

6868
# `<your_app>.tgz` should be now ready in `dist/`!
6969
```

splunklib/ai/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,4 +427,13 @@ The files that get flagged are:
427427
- `openai/lib/.keep`
428428
- `openai/helpers/microphone.py`
429429

430-
As a workaround, both of those files are not required for the App to work and can be deleted before packaging the App.
430+
As a workaround, both of those files are not required for the App to work and can be excluded when packaging the App:
431+
432+
```sh
433+
gtar --transform='s,^,<your_app>/,' \
434+
--exclude="__pycache__" \
435+
--exclude=".keep" \
436+
--exclude="bin/lib/openai/helpers/microphone.py" \
437+
-czf dist/<your_app>.tgz \
438+
bin default
439+
```

0 commit comments

Comments
 (0)