Skip to content

Commit f4c5eee

Browse files
authored
Update PYTHONPATH docs
1 parent b052c1a commit f4c5eee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ COPY libcrypteia.so /opt/lib/libcrypteia.so
6161
ENV LD_PRELOAD=/opt/lib/libcrypteia.so
6262
```
6363

64-
If you are using Python you will need to add our Crypteia python package to the PYTHONPATH in order for things to "just work". The result of this will be that `os.environ["SECRET"]`, `os.environ.get("SECRET")`, and `os.getenv("SECRET")` will be routed to the `getenv` system call and therefore take advantage of the Crypteia rust extension.
64+
If you are using Python you will need to add our Crypteia python package to the `PYTHONPATH` in order for things to "just work". The result of this will be that `os.environ["SECRET"]`, `os.environ.get("SECRET")`, and `os.getenv("SECRET")` will be routed to the `getenv` system call and therefore take advantage of the Crypteia rust extension.
6565

6666
```dockerfile
67-
ENV PYTHONPATH=${PYTHONPATH:/opt/crypteia/python}
67+
ENV PYTHONPATH=/opt/crypteia/python
6868
```
6969

7070
⚠️ When building your own Lambda Containers, please make sure [glibc](https://www.gnu.org/software/libc/) is installed since this is used by [redhook](https://github.com/geofft/redhook).

0 commit comments

Comments
 (0)