[Pysys-commits] SF.net SVN: pysys:[1022] branches/post-1.3.0
Brought to you by:
ben-spiller,
moraygrieve
From: <ben...@us...> - 2018-09-12 13:48:34
|
Revision: 1022 http://sourceforge.net/p/pysys/code/1022 Author: ben-spiller Date: 2018-09-12 13:48:30 +0000 (Wed, 12 Sep 2018) Log Message: ----------- add IS_WINDOWS constant, as Windows is so different from other (Unix-y) OSes that a special-case is justified; I've noticed a lot of pysys users are doing error-prone matching against string literals (e.g. OSFAMILY=='windows', PLATFORM in ['win32','win64'] are common) or writing complex expressions using python's platform module; having a constant will reduce mistakes for these common cases; also started a How To Guide/FAQ in the README.rst to guide people towards best practice solutions for common problems Modified Paths: -------------- branches/post-1.3.0/pysys/constants.py branches/post-1.3.0/pysys-dist/README.rst branches/post-1.3.0/pysys-dist/pysys-release.txt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |