[Python-checkins] distutils2: Move comments on the line before the field to improve readability.

tarek.ziade python-checkins at python.org
Sun Sep 19 10:20:23 CEST 2010


tarek.ziade pushed 1ca92d1cccc8 to distutils2:

http://hg.python.org/distutils2/rev/1ca92d1cccc8
changeset:   662:1ca92d1cccc8
user:        ?ric Araujo <merwok at netwok.org>
date:        Mon Sep 06 04:58:07 2010 +0200
summary:     Move comments on the line before the field to improve readability.
files:       src/distutils2/_backport/sysconfig.cfg

diff --git a/src/distutils2/_backport/sysconfig.cfg b/src/distutils2/_backport/sysconfig.cfg
--- a/src/distutils2/_backport/sysconfig.cfg
+++ b/src/distutils2/_backport/sysconfig.cfg
@@ -1,30 +1,40 @@
 [globals]
 # These are the useful categories that are sometimes referenced at runtime,
 # using pkgutil.open():
-config             = {confdir}/{distribution.name}         # Configuration files
-appdata            = {datadir}/{distribution.name}         # Non-writable data that is independent of architecture (images, many xml/text files)
-appdata.arch       = {libdir}/{distribution.name}          # Non-writable data that is architecture-dependent (some binary data formats)
-appdata.persistent = {statedir}/lib/{distribution.name}    # Data, written by the package, that must be preserved (databases)
-appdata.disposable = {statedir}/cache/{distribution.name}  # Data, written by the package, that can be safely discarded (cache)
-help               = {datadir}/{distribution.name}         # Help or documentation files referenced at runtime
-icon               = {datadir}/pixmaps
+# Configuration files
+config = {confdir}/{distribution.name}
+# Non-writable data that is independent of architecture (images, many xml/text files)
+appdata = {datadir}/{distribution.name}
+# Non-writable data that is architecture-dependent (some binary data formats)
+appdata.arch = {libdir}/{distribution.name}
+# Data, written by the package, that must be preserved (databases)
+appdata.persistent = {statedir}/lib/{distribution.name}
+# Data, written by the package, that can be safely discarded (cache)
+appdata.disposable = {statedir}/cache/{distribution.name}
+# Help or documentation files referenced at runtime
+help = {datadir}/{distribution.name}
+icon = {datadir}/pixmaps
 scripts = {base}/bin
 
 # Non-runtime files.  These are valid categories for marking files for
 # install, but they should not be referenced by the app at runtime:
-doc             = {datadir}/doc/{distribution.name}  # Help or documentation files not referenced by the package at runtime
-info            = {datadir}/info                     # GNU info documentation files
-man             = {datadir}/man                      # man pages
+# Help or documentation files not referenced by the package at runtime
+doc = {datadir}/doc/{distribution.name}
+# GNU info documentation files
+info = {datadir}/info
+# man pages
+man = {datadir}/man
 
 [posix_prefix]
 # Configuration directories.  Some of these come straight out of the
 # configure script.  They are for implementing the other variables, not to
 # be used directly in [resource_locations].
-confdir         = /etc
-datadir         = /usr/share
 libdir          = /usr/lib                      # or /usr/lib64 on a multilib system
-statedir        = /var
-local           = ~/.local/{distribution.name}  # User resource directory
+confdir = /etc
+datadir = /usr/share
+statedir = /var
+# User resource directory
+local = ~/.local/{distribution.name}
 
 stdlib = {base}/lib/python{py_version_short}
 platstdlib = {platbase}/lib/python{py_version_short}

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list