File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,20 @@ def package(self):
97
97
98
98
# Copy site packages into package base
99
99
LOG .info ('Copying site packages' )
100
+
100
101
site_packages = 'lib/python2.7/site-packages'
102
+ lib64_site_packages = 'lib64/python2.7/site-packages'
101
103
if sys .platform == 'win32' or sys .platform == 'cygwin' :
104
+ lib64_site_packages = 'lib64\\ site-packages'
102
105
site_packages = 'lib\\ site-packages'
103
106
104
- shutil . copytree (os .path .join (self ._pkg_venv , site_packages ),
107
+ utils . copy_tree (os .path .join (self ._pkg_venv , site_packages ),
105
108
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
+
106
114
utils .copy_tree (self ._path , package , ignore = [TEMP_WORKSPACE_NAME ])
107
115
self ._create_zip (package )
108
116
You can’t perform that action at this time.
0 commit comments