[Python-checkins] CVS: distutils/distutils/command bdist_dumb.py,1.14,1.15 bdist_rpm.py,1.20,1.21 bdist_wininst.py,1.14,1.15 build.py,1.27,1.28 build_clib.py,1.19,1.20 build_ext.py,1.65,1.66 build_py.py,1.29,1.30 build_scripts.py,1.4,1.5 clean.py,1.9,1.10 install.py,1.47,1.48 install_data.py,1.13,1.14 install_headers.py,1.5,1.6 install_lib.py,1.30,1.31 install_scripts.py,1.8,1.9 sdist.py,1.47,1.48
Greg Ward
python-dev@python.org
Sun, 24 Sep 2000 18:41:37 -0700
Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv7063
Modified Files:
bdist_dumb.py bdist_rpm.py bdist_wininst.py build.py
build_clib.py build_ext.py build_py.py build_scripts.py
clean.py install.py install_data.py install_headers.py
install_lib.py install_scripts.py sdist.py
Log Message:
Added 'boolean_options' list to support config file parsing.
Index: bdist_dumb.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist_dumb.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** bdist_dumb.py 2000/09/16 15:53:41 1.14
--- bdist_dumb.py 2000/09/25 01:41:12 1.15
***************
*** 33,36 ****
--- 33,38 ----
]
+ boolean_options = ['keep-temp']
+
default_format = { 'posix': 'gztar',
'nt': 'zip', }
Index: bdist_rpm.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist_rpm.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** bdist_rpm.py 2000/09/16 15:54:18 1.20
--- bdist_rpm.py 2000/09/25 01:41:13 1.21
***************
*** 112,115 ****
--- 112,117 ----
]
+ boolean_options = ['keep-temp', 'rpm2-mode']
+
negative_opt = {'no-keep-temp': 'keep-temp',
'no-rpm-opt-flags': 'use-rpm-opt-flags',
Index: bdist_wininst.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist_wininst.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** bdist_wininst.py 2000/09/22 01:32:34 1.14
--- bdist_wininst.py 2000/09/25 01:41:13 1.15
***************
*** 34,37 ****
--- 34,39 ----
]
+ boolean_options = ['keep-temp']
+
def initialize_options (self):
self.bdist_dir = None
Index: build.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** build.py 2000/09/16 02:06:45 1.27
--- build.py 2000/09/25 01:41:14 1.28
***************
*** 43,46 ****
--- 43,48 ----
]
+ boolean_options = ['debug', 'force']
+
help_options = [
('help-compiler', None,
Index: build_clib.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_clib.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** build_clib.py 2000/06/25 02:10:58 1.19
--- build_clib.py 2000/09/25 01:41:14 1.20
***************
*** 49,52 ****
--- 49,54 ----
]
+ boolean_options = ['debug', 'force']
+
help_options = [
('help-compiler', None,
Index: build_ext.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_ext.py,v
retrieving revision 1.65
retrieving revision 1.66
diff -C2 -r1.65 -r1.66
*** build_ext.py 2000/09/17 00:54:58 1.65
--- build_ext.py 2000/09/25 01:41:15 1.66
***************
*** 83,86 ****
--- 83,88 ----
]
+ boolean_options = ['inplace', 'debug', 'force', 'swig-cpp']
+
help_options = [
('help-compiler', None,
Index: build_py.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_py.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** build_py.py 2000/09/06 02:06:27 1.29
--- build_py.py 2000/09/25 01:41:15 1.30
***************
*** 24,27 ****
--- 24,29 ----
]
+ boolean_options = ['force']
+
def initialize_options (self):
Index: build_scripts.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/build_scripts.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** build_scripts.py 2000/07/27 02:13:20 1.4
--- build_scripts.py 2000/09/25 01:41:15 1.5
***************
*** 23,26 ****
--- 23,28 ----
]
+ boolean_options = ['force']
+
def initialize_options (self):
Index: clean.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/clean.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** clean.py 2000/09/12 00:07:49 1.9
--- clean.py 2000/09/25 01:41:15 1.10
***************
*** 29,32 ****
--- 29,34 ----
]
+ boolean_options = ['all']
+
def initialize_options(self):
self.build_base = None
Index: install.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -r1.47 -r1.48
*** install.py 2000/09/22 01:31:08 1.47
--- install.py 2000/09/25 01:41:15 1.48
***************
*** 107,110 ****
--- 107,112 ----
]
+ boolean_options = ['force', 'skip-build']
+
def initialize_options (self):
Index: install_data.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install_data.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** install_data.py 2000/09/15 01:21:07 1.13
--- install_data.py 2000/09/25 01:41:15 1.14
***************
*** 26,29 ****
--- 26,31 ----
]
+ boolean_options = ['force']
+
def initialize_options (self):
self.install_dir = None
Index: install_headers.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install_headers.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** install_headers.py 2000/09/13 01:02:25 1.5
--- install_headers.py 2000/09/25 01:41:15 1.6
***************
*** 22,25 ****
--- 22,26 ----
]
+ boolean_options = ['force']
def initialize_options (self):
Index: install_lib.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install_lib.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** install_lib.py 2000/09/23 01:20:19 1.30
--- install_lib.py 2000/09/25 01:41:15 1.31
***************
*** 20,23 ****
--- 20,25 ----
]
+ boolean_options = ['force', 'compile', 'optimize', 'skip-build']
+
def initialize_options (self):
Index: install_scripts.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install_scripts.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** install_scripts.py 2000/09/13 01:02:25 1.8
--- install_scripts.py 2000/09/25 01:41:15 1.9
***************
*** 23,26 ****
--- 23,29 ----
]
+ boolean_options = ['force', 'skip-build']
+
+
def initialize_options (self):
self.install_dir = None
Index: sdist.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/sdist.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -r1.47 -r1.48
*** sdist.py 2000/09/18 00:41:10 1.47
--- sdist.py 2000/09/25 01:41:15 1.48
***************
*** 68,71 ****
--- 68,74 ----
]
+ boolean_options = ['use-defaults', 'prune',
+ 'manifest-only', 'force-manifest',
+ 'keep-tree']
help_options = [