File tree 1 file changed +16
-0
lines changed
Filter options
1 file changed +16
-0
lines changed
Original file line number Diff line number Diff line change 59
59
}
60
60
61
61
62
+ if (not (hasattr (sys , 'real_prefix' ) or
63
+ sys .prefix != sys .base_prefix ) and
64
+ 'RPM_BUILD_ROOT' not in os .environ ):
65
+ _INSTALL_SCHEMES ['posix_prefix' ] = {
66
+ 'stdlib' : '{installed_base}/local/{platlibdir}/python{py_version_short}' ,
67
+ 'platstdlib' : '{platbase}/local/{platlibdir}/python{py_version_short}' ,
68
+ 'purelib' : '{base}/local/lib/python{py_version_short}/site-packages' ,
69
+ 'platlib' : '{platbase}/local/{platlibdir}/python{py_version_short}/site-packages' ,
70
+ 'include' :
71
+ '{installed_base}/local/include/python{py_version_short}{abiflags}' ,
72
+ 'platinclude' :
73
+ '{installed_platbase}/local/include/python{py_version_short}{abiflags}' ,
74
+ 'scripts' : '{base}/local/bin' ,
75
+ 'data' : '{base}/local' ,
76
+ }
77
+
62
78
# NOTE: site.py has copy of this function.
63
79
# Sync it when modify this function.
64
80
def _getuserbase ():
You can’t perform that action at this time.
0 commit comments