File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818#
19- # $Id: setup.py,v 1.53 2003-06-09 23:17:20 richard Exp $
19+ # $Id: setup.py,v 1.54 2003-06-17 11:03:27 neaj Exp $
2020
2121from distutils .core import setup , Extension
2222from distutils .util import get_platform
@@ -78,7 +78,8 @@ def copy_scripts(self):
7878 module = os .path .splitext (os .path .basename (script ))[0 ]
7979 module = string .translate (module , to_module )
8080 cmdopt = self .distribution .command_options
81- if cmdopt ['install' ].has_key ('prefix' ):
81+ if (cmdopt .has_key ('install' ) and
82+ cmdopt ['install' ].has_key ('prefix' )):
8283 prefix = cmdopt ['install' ]['prefix' ][1 ]
8384 version = '%d.%d' % sys .version_info [:2 ]
8485 prefix = '''
You can’t perform that action at this time.
0 commit comments