Changeset 090dabe in sasview for setup.py


Ignore:
Timestamp:
Nov 22, 2011 5:41:41 PM (13 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
715e8c2
Parents:
aa9ea2e
Message:

Re #5 Fixing setup for build server (clean up)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    raa9ea2e r090dabe  
    99try: 
    1010    from numpy.distutils.misc_util import get_numpy_include_dirs 
    11     print get_numpy_include_dirs() 
    1211    NUMPY_INC = get_numpy_include_dirs()[0] 
    1312except: 
    1413    try: 
    1514        import numpy 
    16         print numpy.__file__ 
    17          
    1815        NUMPY_INC = os.path.join(os.path.split(numpy.__file__)[0],"core","include") 
    1916    except: 
    20         print "\nNumpy is needed to build SansView. Try easy_install numpy.\n" 
    21         print sys.exc_value 
     17        print "\nNumpy is needed to build SansView. Try easy_install numpy.\n  %s" % str(sys.exc_value) 
    2218        sys.exit(0) 
    2319 
Note: See TracChangeset for help on using the changeset viewer.