File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,20 @@ def package(self):
9797
9898 # Copy site packages into package base
9999 LOG .info ('Copying site packages' )
100+
100101 site_packages = 'lib/python2.7/site-packages'
102+ lib64_site_packages = 'lib64/python2.7/site-packages'
101103 if sys .platform == 'win32' or sys .platform == 'cygwin' :
104+ lib64_site_packages = 'lib64\\ site-packages'
102105 site_packages = 'lib\\ site-packages'
103106
104- shutil . copytree (os .path .join (self ._pkg_venv , site_packages ),
107+ utils . copy_tree (os .path .join (self ._pkg_venv , site_packages ),
105108 package )
109+ lib64_path = os .path .join (self ._pkg_venv , lib64_site_packages )
110+ if not os .path .islink (lib64_path ):
111+ LOG .info ('Copying lib64 site packages' )
112+ utils .copy_tree (lib64_path , package )
113+
106114 utils .copy_tree (self ._path , package , ignore = [TEMP_WORKSPACE_NAME ])
107115 self ._create_zip (package )
108116
You can’t perform that action at this time.
0 commit comments