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