[Python-checkins] distutils2: renamed mkpkg to mkcfg
tarek.ziade
python-checkins at python.org
Thu Oct 7 11:06:20 CEST 2010
tarek.ziade pushed 7b9a2fce950c to distutils2:
http://hg.python.org/distutils2/rev/7b9a2fce950c
changeset: 748:7b9a2fce950c
tag: tip
user: Tarek Ziade <tarek at ziade.org>
date: Thu Oct 07 11:06:13 2010 +0200
summary: renamed mkpkg to mkcfg
files: distutils2/mkcfg.py, distutils2/mkpkg.py
diff --git a/distutils2/mkpkg.py b/distutils2/mkcfg.py
rename from distutils2/mkpkg.py
rename to distutils2/mkcfg.py
--- a/distutils2/mkpkg.py
+++ b/distutils2/mkcfg.py
@@ -6,9 +6,9 @@
# Available as either a stand-alone file or callable from the distutils2
# package:
#
-# python -m distutils2.mkpkg
+# python -m distutils2.mkcfg
# or:
-# python mkpkg.py
+# python mkcfg.py
#
# Written by Sean Reifschneider <jafo at tummy.com>
#
@@ -159,7 +159,7 @@
def load_config_file(self):
self.configparser = RawConfigParser()
# TODO replace with section in distutils config file
- self.configparser.read(os.path.expanduser('~/.mkpkgpy'))
+ self.configparser.read(os.path.expanduser('~/.mkcfg'))
self.data['author'] = self.lookup_option('author')
self.data['author_email'] = self.lookup_option('author_email')
@@ -175,7 +175,7 @@
if not valuesDifferent:
return
- fp = open(os.path.expanduser('~/.mkpkgpy'), 'w')
+ fp = open(os.path.expanduser('~/.mkcfgpy'), 'w')
try:
self.configparser.write(fp)
finally:
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list