title: Uploading AWS Glue Wheel dependencies as a ZIP/TAR
body: <p>I have been wondering what is the best way to upload the library dependencies into AWS Glue.
  I would like to copy the dependencies with the wheel all together like it was a <code>jar</code>
  The AWS documentation is a bit confusing and in some part, they recommend to create a zip/tar with all the wheels, upload it and give it the path as a parameter for <code>--extra-py-files</code> (for pythonshell) or <code>--additional-python-modules</code> (for spark) depending the version of Glue.
  For example, <a href="https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming-python-libraries.html#aws-glue-programming-python-libraries-zipping" rel="nofollow noreferrer">here</a>.</p>
  <p>I found a Snowflake guide that recommends <a href="https://community.snowflake.com/s/article/AWS-Glue-Job-in-Python-Shell-using-Wheel-and-Egg-files" rel="nofollow noreferrer">this</a> as well.</p>
  <p>However, I couldn't make it run in AWS Glue with Glue or PythonShell.</p>
  <p>Does anyone know what is the best approach to upload dependencies to AWS Glue?</p>
  <p>Thank you in advance.</p>