Changeset 443a487 in sasview
- Timestamp:
- Apr 7, 2014 12:42:43 PM (11 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3d6b00c
- Parents:
- b2de19d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
check_packages.py
rda8c5dc r443a487 49 49 for package_name,test_vals in win_required_package_list.iteritems(): 50 50 try: 51 i = __import__(test_vals['import_name'],fromlist=['']) 52 print "%s Version Installed: %s"% (package_name,getattr(i,test_vals['test'])) 51 if package_name == "pywin": 52 import win32api 53 fixed_file_info = win32api.GetFileVersionInfo(win32api.__file__,'\\') 54 print "%s Version Installed: %s"% (package_name,fixed_file_info['FileVersionLS'] >> 16) 55 else: 56 i = __import__(test_vals['import_name'],fromlist=['']) 57 print "%s Version Installed: %s"% (package_name,getattr(i,test_vals['test'])) 53 58 except: 54 59 print '%s NOT INSTALLED'% package_name
Note: See TracChangeset
for help on using the changeset viewer.