You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a Python project that indirectly uses a native library through ctypes, so I need to supply the library, libspatialindex.so, in the Lambda function's package. However, when I run sam build, the file does not get copied into the output. It looks like this is due to the EXCLUDED_FILES list for PythonPipWorkflow.
Steps to reproduce the issue:
Place a file ending in .so in the directory pointed to by CodeUri
Run sam build
Observed result:
The file should be copied into .aws-sam/build/FunctionName/
Expected result:
The file is missing
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
I am using SAM CLI version 0.16.0 on Debian Stretch
The text was updated successfully, but these errors were encountered:
This file will be executed when the Python interpreter starts, before it opens the interactive terminal or runs the script. It will search for a file with that name in the site-packages directories, which includes the working directory (so place the file there). Similarly, some other site-specific configuration hook can be used to patch the patterns of excluded files.
Description:
I'm working on a Python project that indirectly uses a native library through
ctypes
, so I need to supply the library,libspatialindex.so
, in the Lambda function's package. However, when I runsam build
, the file does not get copied into the output. It looks like this is due to the EXCLUDED_FILES list forPythonPipWorkflow
.Steps to reproduce the issue:
.so
in the directory pointed to byCodeUri
sam build
Observed result:
The file should be copied into
.aws-sam/build/FunctionName/
Expected result:
The file is missing
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
I am using SAM CLI version 0.16.0 on Debian Stretch
The text was updated successfully, but these errors were encountered: