comparison setup.py @ 1869:88326c62ae53

remove apply() usage
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 10 Mar 2007 22:54:25 +0100
parents 0194beaf511e
children 01f05e74aa9c
comparison
equal deleted inserted replaced
1868:64507f46beb2 1869:88326c62ae53
285 if hasattr(distutils.dist.DistributionMetadata, 'get_platforms'): 285 if hasattr(distutils.dist.DistributionMetadata, 'get_platforms'):
286 setup_args['platforms'] = "win32 posix" 286 setup_args['platforms'] = "win32 posix"
287 287
288 288
289 try: 289 try:
290 apply(setup, (), setup_args) 290 setup(**setup_args)
291 except distutils.errors.DistutilsPlatformError, ex: 291 except distutils.errors.DistutilsPlatformError, ex:
292 print 292 print
293 print str(ex) 293 print str(ex)
294 294
295 print """ 295 print """