Author: reinhard
Date: 2007-06-06 08:07:53 -0500 (Wed, 06 Jun 2007)
New Revision: 9683
Modified:
trunk/gnue-common/src/setup/GSetup.py
Log:
Possible fix for install_config
Modified: trunk/gnue-common/src/setup/GSetup.py
===================================================================
--- trunk/gnue-common/src/setup/GSetup.py 2007-06-06 12:44:35 UTC (rev 9682)
+++ trunk/gnue-common/src/setup/GSetup.py 2007-06-06 13:07:53 UTC (rev 9683)
@@ -167,7 +167,24 @@
#user_options = [opt for opt in user_options if opt [0] in allowed_options]
+ user_options = distutils.command.install.install.user_options
+ i = 0
+ for option in user_options:
+ i = i + 1
+ if option [0] == "install-data=":
+ user_options.insert (i, ("install-config=", None,
+ "installation directory for configuration files"))
+ break
+
# ---------------------------------------------------------------------------
+ # Initalize options
+ # ---------------------------------------------------------------------------
+
+ def initialize_options (self):
+ distutils.command.install.install.initialize_options (self)
+ self.install_config = None
+
+ # ---------------------------------------------------------------------------
# Finalize options - set all install targets
# ---------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.