summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 443eabc)
raw | patch | inline | side by side (parent: 443eabc)
author | neaj <neaj@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 17 Jun 2003 11:03:27 +0000 (11:03 +0000) | ||
committer | neaj <neaj@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 17 Jun 2003 11:03:27 +0000 (11:03 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1730 57a73879-2fb5-44c3-a270-3262357dd7e2
setup.py | patch | blob | history |
diff --git a/setup.py b/setup.py
index 367293d2b3a992ada67299ae14bc2090cad61105..e178318aaf8838fccfb1945f97224a81f528afac 100644 (file)
--- a/setup.py
+++ b/setup.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: setup.py,v 1.53 2003-06-09 23:17:20 richard Exp $
+# $Id: setup.py,v 1.54 2003-06-17 11:03:27 neaj Exp $
from distutils.core import setup, Extension
from distutils.util import get_platform
module = os.path.splitext(os.path.basename(script))[0]
module = string.translate(module, to_module)
cmdopt=self.distribution.command_options
- if cmdopt['install'].has_key('prefix'):
+ if (cmdopt.has_key('install') and
+ cmdopt['install'].has_key('prefix')):
prefix = cmdopt['install']['prefix'][1]
version = '%d.%d'%sys.version_info[:2]
prefix = '''