Skip to content

Commit

Permalink
Ignore files on package level
Browse files Browse the repository at this point in the history
  • Loading branch information
soloman1124 committed Jul 8, 2016
1 parent 5b9d9b2 commit ff68ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambda_uploader/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ def package(self, ignore=[]):
site_packages = 'lib\\site-packages'

utils.copy_tree(os.path.join(self._pkg_venv, site_packages),
package)
package, ignore=ignore)
lib64_path = os.path.join(self._pkg_venv, lib64_site_packages)
if not os.path.islink(lib64_path):
LOG.info('Copying lib64 site packages')
utils.copy_tree(lib64_path, package)
utils.copy_tree(lib64_path, package, ignore=ignore)

# Append the temp workspace to the ignore list:
ignore += ["^%s/*" % TEMP_WORKSPACE_NAME]
Expand Down

0 comments on commit ff68ff7

Please sign in to comment.