Changeset 21bba86 in sasview for setup.py


Ignore:
Timestamp:
Apr 11, 2017 5:51:01 AM (7 years ago)
Author:
ajj
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
01f1e17
Parents:
f4d571b
Message:

More print fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r6c7e4cc1 r21bba86  
    159159        # check for doc path 
    160160        SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(),'..','sasmodels','doc')) 
    161         print "========= check for sasmodels at "+SASMODELS_DOCPATH+"============" 
     161        print("========= check for sasmodels at",SASMODELS_DOCPATH,"============") 
    162162        if os.path.exists(SASMODELS_DOCPATH): 
    163163            if os.path.isdir(SASMODELS_DOCPATH): 
    164164                # if available, build sasmodels docs 
    165                 print "============= Building sasmodels model documentation ===============" 
     165                print("============= Building sasmodels model documentation ===============") 
    166166                smdocbuild = subprocess.call(["make","-C",SASMODELS_DOCPATH,"html"]) 
    167167        else: 
    168168            # if not available warning message 
    169             print " == !!WARNING!! sasmodels directory not found. Cannot build model docs. ==" 
     169            print("== !!WARNING!! sasmodels directory not found. Cannot build model docs. ==") 
    170170 
    171171        #Now build sasview (+sasmodels) docs 
Note: See TracChangeset for help on using the changeset viewer.