Changeset 322 for pyyaml/trunk/setup.py
- Timestamp:
- 12/28/08 15:16:50 (3 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/setup.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/setup.py
r314 r322 270 270 271 271 272 class test(Command): 273 274 user_options = [] 275 276 def initialize_options(self): 277 pass 278 279 def finalize_options(self): 280 pass 281 282 def run(self): 283 build_cmd = self.get_finalized_command('build') 284 build_cmd.run() 285 sys.path.insert(0, build_cmd.build_lib) 286 sys.path.insert(0, 'tests') 287 import test_all 288 test_all.main([]) 289 290 272 291 if __name__ == '__main__': 273 292 … … 297 316 'build_ext': build_ext, 298 317 'bdist_rpm': bdist_rpm, 318 'test': test, 299 319 }, 300 320 )
