Changeset 391c480 in sasview


Ignore:
Timestamp:
Dec 15, 2011 3:05:20 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
13bc1b3a
Parents:
cf81aaa
Message:

correct v# for park

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/build_sansview.py

    r2d74016 r391c480  
    4444# On Windows, the python executable is not always on the path. 
    4545# Use its most frequent location as the default. 
     46# Select the appropriate python version to use. 
     47if sys.version_info >= (3, 0) or sys.version_info < (2, 5): 
     48    print "*** This script only works with Python 2.5, 2.6, or 2.7." 
     49    sys.exit() 
     50elif sys.version_info > (2, 6): 
     51    P_version = 27 
     52elif sys.version_info > (2, 5): 
     53    P_version = 26 
     54else: 
     55    P_version = 25 
     56     
    4657if sys.platform == 'win32': 
    47     PYTHON = "c:\python25\python" 
     58    PYTHON = "c:\python%s\python"% str(P_version) 
    4859    LIB_FOLDER = "%s/%s" % (CWD, INSTALL_FOLDER) 
    4960else: 
     
    193204    os.chdir(wd) 
    194205    if release: 
    195         install_pkg(".", "util-%s" % UTIL, UTIL_URL) 
    196     else: 
    197         install_pkg(".", "util", "https://sansviewproject.svn.sourceforge.net/svnroot/sansviewproject/trunk/sansutil") 
     206        install_pkg(".", "sansutil-%s" % UTIL, UTIL_URL) 
     207    else: 
     208        install_pkg(".", "sansutil", "https://sansviewproject.svn.sourceforge.net/svnroot/sansviewproject/trunk/sansutil") 
    198209     
    199210    os.chdir(wd) 
     
    244255        install_pkg(".", "park-%s" % PARK, PARK_URL) 
    245256    else: 
    246         install_pkg(".", "park-1.2", "https://sansviewproject.svn.sourceforge.net/svnroot/sansviewproject/trunk/park-1.2") 
     257        install_pkg(".", "park-1.2.1", "https://sansviewproject.svn.sourceforge.net/svnroot/sansviewproject/trunk/park-1.2.1") 
    247258         
    248259    os.chdir(wd) 
Note: See TracChangeset for help on using the changeset viewer.