Changeset 286633 in webkit
- Timestamp:
- Dec 7, 2021, 5:32:10 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r286630 r286633 1 2021-12-07 Yousuke Kimoto <Yousuke.Kimoto@sony.com> 2 3 [webkitcorepy] Fail to install python module when a working directory is not on C drive on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=233936 5 6 Reviewed by Jonathan Bedard. 7 8 On Windows, autoinstall.py installs python modules to C drive even if 9 your working directory is on other drive (e.g. D drive). To install 10 python modules correctly on Windows, a drive letter where your working 11 directory exists needs to be given to "--root" option of "setup.py" 12 in autoinstall.py. 13 14 * Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py: 15 (Package.install): Added root_location to detect a right drive letter to isntall modules on Windows. 16 1 17 2021-12-07 Devin Rousso <drousso@apple.com> 2 18 -
trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py
r282322 r286633 306 306 AutoInstall.log('{} is known to be slow to install'.format(archive)) 307 307 308 root_location = "/" if not sys.platform.startswith('win') else "{}/".format(os.path.splitdrive(os.path.abspath(install_location))[0]) 309 308 310 log_location = os.path.join(temp_location, 'log.txt') 309 311 try: … … 315 317 'install', 316 318 '--home={}'.format(install_location), 317 '--root= /',319 '--root={}'.format(root_location), 318 320 '--prefix=', 319 321 '--install-lib={}'.format(install_location),
Note:
See TracChangeset
for help on using the changeset viewer.