Build a Snowpark project

The snow snowpark build command builds the Snowpark project as a .zip archive that can be used by the deploy command. The archive is built using only the src directory specified in the project file.

snow snowpark build
Build done. Artefact path: /.../app.zip
Copy

Additional options:

  • --pypi-download: Downloads non-Anaconda dependencies from PyPi (and adds them to the .zip archive).

  • --check-anaconda-for-pypi-deps [-a]: Checks whether any of the missing Anaconda packages dependencies can be imported directly from Anaconda.

  • --package-native-libraries yes/no/ask: Whether to allow native libraries when using PyPi packages. Default: ask.