source: sasview/deps.py @ 01de557

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 01de557 was 08dcf6c8, checked in by Mathieu Doucet <doucetm@…>, 13 years ago

Re #5 fixing mac tests

  • Property mode set to 100644
File size: 1.3 KB
Line 
1"""
2    Check dependencies
3"""
4import sys
5print sys.version
6
7try:
8    import matplotlib
9    print "matplotlib ", matplotlib.__version__
10except:
11    print "No matplotlib"
12   
13try:
14    import wx
15    print "wx ", wx.__version__
16except:
17    print "No wx"
18   
19try:
20    import scipy
21    print "scipy ", scipy.__version__
22except:
23    print "No scipy"
24   
25try:
26    import numpy
27    print "numpy ", numpy.__version__
28except:
29    print "No numpy"
30   
31try:
32    import lxml.etree
33    print "lxml ", lxml.etree.__version__
34except:
35    print "No lxml"
36   
37try:
38    import reportlab
39    print "reportlab ", reportlab.Version
40except:
41    print "No reportlab"
42   
43try:
44    import PIL
45    print "PIL"
46except:
47    print "No PIL"
48   
49# The following is necessary to build an app
50try:
51    import py2app
52    print "py2app ", py2app.__version__
53except:
54    print "No py2app: recommending version >= 0.6.4"
55   
56try:
57    import altgraph
58    print "altgraph ", altgraph.__version__
59except:
60    print "No altgraph"   
61   
62try:
63    import modulegraph
64    print "modulegraph ", modulegraph.__version__
65except:
66    print "No modulegraph: recommending version >= 0.9.1"
67   
68try:
69    import macholib
70    print "macholib ", macholib.__version__
71except:
72    print "No macholib: recommending version >= 1.4.3"
73   
74 
75   
Note: See TracBrowser for help on using the repository browser.