Changeset 3791
- Timestamp:
- 17/04/08 14:09:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/python/ndg-security-install.py
r3201 r3791 239 239 configParser.set('build_ext', 'library_dirs', opensslLibPath) 240 240 241 configParser.write(open(distutilsCfgFilePath, 'w')) 241 try: 242 configParser.write(open(distutilsCfgFilePath, 'w')) 243 except IOError: 244 # distutils dir may not be installed - try local dir as back-up 245 # option 246 distutilsCfgFilePath = os.path.join(os.environ['HOME'], 247 '.pydistutils.cfg') 248 configParser.write(open(distutilsCfgFilePath, 'w')) 242 249 243 250
Note: See TracChangeset
for help on using the changeset viewer.