Changeset b441081 in sasview
- Timestamp:
- Mar 31, 2014 11:14:35 AM (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:
- a3afe20
- Parents:
- 663e988
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
check_packages.py
r131576f rb441081 4 4 import os 5 5 import sys 6 6 7 if sys.platform =='win32': 7 8 IS_WIN = True … … 11 12 import setuptools 12 13 print "==> setuptools-%s installed."% setuptools.__version__ 13 #if setuptools.__version__ != '0.6c11':14 #print "!!! Recommend to install 0.6c11."14 if setuptools.__version__ != '0.6c11': 15 print "!!! Recommend to install 0.6c11." 15 16 except: 16 17 print "!!! setuptools-0.6c11 not installed." 17 18 try: 18 19 import pyparsing 19 if pyparsing.__version__ == '1.5.5': 20 print "==> pyparsing-%s installed."% pyparsing.__version__ 21 else: 20 print "==> pyparsing-%s installed."% pyparsing.__version__ 21 if pyparsing.__version__ != '1.5.5': 22 22 print "!!! 1.5.5 recommended." 23 23 except: … … 25 25 try: 26 26 import html5lib 27 print "==> html5lib-%s installed."% html5lib.__version__ 27 28 if html5lib.__version__.count('0.95') > 0: 28 print "==> html5lib-%s installed."% html5lib.__version__29 else:30 29 print "!!! 0.95 recommended." 31 30 except: … … 33 32 try: 34 33 import pyPdf 35 print "==> pyPdf installed." 34 print "==> pyPdf-%s installed."% pyPdf.__version__ 35 if pyPdf.__version__ != '1.13': 36 print "!!! 1.13 recommended." 36 37 except: 37 38 print "!!! pyPdf-1.13 not installed (optional)." 38 39 try: 39 40 import reportlab 40 print "==> reportlab installed." 41 print "==> reportlab-%s installed."% reportlab.__version__ 42 if reportlab.__version__ != '2.5': 43 print "!!! 2.5 recommended" 41 44 except: 42 45 print "!!! reportlab-2.5 not installed." 43 46 try: 44 47 import lxml 45 print "==> lxml installed." 48 print "==> lxml-%s installed."% lxml.__version__ 49 if lxml.__version__ != '2.3': 50 print "!!! 2.3 recommended" 46 51 except: 47 52 print "!!! lxml-2.3 not installed." 48 53 try: 49 import PIL 50 print "==> PIL installed." 54 import Image 55 print "==> PIL-%s installed."% Image.VERSION 56 if Image.VERSION != '1.1.7': 57 print "!!! 1.1.7 recommended." 51 58 except: 52 59 print "!!! PIL-1.1.7 not installed."
Note: See TracChangeset
for help on using the changeset viewer.