From: Marc Fiuczynski Date: Fri, 31 Aug 2007 04:48:37 +0000 (+0000) Subject: add uninstall for distutils X-Git-Tag: myplc-4.0-15~84 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=fbc481943c78e0dab1d9edd58186e48d55919444 add uninstall for distutils --- diff --git a/plc_config.py b/plc_config.py index 913ccfd..35ff200 100644 --- a/plc_config.py +++ b/plc_config.py @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: plc_config.py,v 1.3 2006/04/18 15:32:48 thierry Exp $ +# $Id: plc_config.py,v 1.4 2006/07/17 21:29:15 mlhuang Exp $ # import xml.dom.minidom @@ -798,6 +798,6 @@ class TrimTextElement(xml.dom.minidom.Element): if __name__ == '__main__': import sys - if len(sys.argv) > 1 and sys.argv[1] in ['build', 'install']: + if len(sys.argv) > 1 and sys.argv[1] in ['build', 'install', 'uninstall']: from distutils.core import setup setup(py_modules=["plc_config"])