pyspark.SparkContext.PACKAGE_EXTENSIONS

SparkContext.PACKAGE_EXTENSIONS = ('.zip', '.egg', '.jar')