Changeset 08dcf6c8 in sasview
- Timestamp:
- Dec 5, 2011 5:30:40 PM (13 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:
- 495acc2
- Parents:
- 2a48bb0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
deps.py
r2a48bb0 r08dcf6c8 47 47 print "No PIL" 48 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 -
test/utest_sansview.py
rc6ccf852 r08dcf6c8 2 2 import subprocess 3 3 import re 4 import sys 4 5 5 6 SKIPPED_DIRS = ["sansrealspace", "calculatorview"] … … 29 30 if os.path.isfile(file_path) and f.startswith("utest_") and f.endswith(".py"): 30 31 module_name,_ = os.path.splitext(f) 31 code = "cd %s%s python -c \"import sys;import xmlrunner;import unittest;sys.path.insert(0, '%s');" % (module_dir, COMMAND_SEP, module_dir)32 code = "cd %s%s%s -c \"import sys;import xmlrunner;import unittest;sys.path.insert(0, '%s');" % (module_dir, COMMAND_SEP, sys.executable, module_dir) 32 33 code += "from %s import *;" % module_name 33 34 code += "unittest.main(testRunner=xmlrunner.XMLTestRunner(output='logs'))\""
Note: See TracChangeset
for help on using the changeset viewer.