[Python-checkins] CVS: python/dist/src/PCbuild python20.wse,1.64,1.65

Tim Peters tim_one@users.sourceforge.net
2001年7月31日 23:29:58 -0700


Update of /cvsroot/python/python/dist/src/PCbuild
In directory usw-pr-cvs1:/tmp/cvs-serv5517
Modified Files:
	python20.wse 
Log Message:
We always wrote a pair of lines to the Wise install.log telling it to
delete the Tools and Lib directories at uninstall time. However,
under the old version of Wise, they didn't actually do anything. Under
the new version, they work as advertised, and even delete files users
added.
Got rid of those, and replaced them with similar uninstall cmds that
get rid of all .pyc and .pyo files (whether or not the installer created
them). This works nicely! It still tears down the directory structure,
except for those directories needed to get to any non-.pyc/o file(s) the
user may have added.
Index: python20.wse
===================================================================
RCS file: /cvsroot/python/python/dist/src/PCbuild/python20.wse,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** python20.wse	2001年08月01日 03:42:27	1.64
--- python20.wse	2001年08月01日 06:29:56	1.65
***************
*** 1190,1193 ****
--- 1190,1198 ----
 item: End Block
 end
+ item: Remark
+ end
+ item: Remark
+ Text=Install the license even if they deselect everything <wink>.
+ end
 item: Install File
 Source=..\license
***************
*** 1208,1211 ****
--- 1213,1230 ----
 end
 item: Remark
+ Text=These arrange to (recursively!) delete all .pyc and .pyo files at uninstall time.
+ end
+ item: Remark
+ Text=This "does the right thing": any directories left empty at the end are removed.
+ end
+ item: Add Text to INSTALL.LOG
+ Text=File Tree: %MAINDIR%\*.pyc
+ end
+ item: Add Text to INSTALL.LOG
+ Text=File Tree: %MAINDIR%\*.pyo
+ end
+ item: Remark
+ end
+ item: Remark
 Text=A: interpreter, libraries and Tcl/Tk
 end
***************
*** 1430,1441 ****
 Text=Libraries (Lib/)
 end
- item: Remark
- Text=Remove entire Lib directory at uninstall time.
- end
- item: Add Text to INSTALL.LOG
- Text=File Tree: %MAINDIR%\Lib\*.*
- end
- item: Remark
- end
 item: Install File
 Source=..\lib\*.py
--- 1449,1452 ----
***************
*** 1608,1619 ****
 Value=C
 Flags=00001010
- end
- item: Remark
- Text=Delete entire Tools directory at uninstall time.
- end
- item: Add Text to INSTALL.LOG
- Text=File Tree: %MAINDIR%\Tools\*.*
- end
- item: Remark
 end
 item: Install File
--- 1619,1622 ----

AltStyle によって変換されたページ (->オリジナル) /