Changeset 899e084 in sasview for setup.py


Ignore:
Timestamp:
Jun 27, 2016 7:36:41 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
80c2c85
Parents:
efe730d
Message:

build console app as well as gui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    refe730d r899e084  
    5656    #             file_path =  os.path.join(f_path, f) 
    5757    #             os.remove(file_path) 
    58     if os.path.exists(SASVIEW_BUILD): 
    59         print "Removing existing build directory", SASVIEW_BUILD, "for a clean build" 
    60         shutil.rmtree(SASVIEW_BUILD) 
     58 
     59if os.path.exists(SASVIEW_BUILD): 
     60    print "Removing existing build directory", SASVIEW_BUILD, "for a clean build" 
     61    shutil.rmtree(SASVIEW_BUILD) 
    6162                     
    6263# 'sys.maxsize' and 64bit: Not supported for python2.5 
    63 is_64bits = False 
    64 if sys.version_info >= (2, 6): 
    65     is_64bits = sys.maxsize > 2**32 
    66      
     64is_64bits = sys.maxsize > 2**32 
    6765enable_openmp = False 
    6866 
     
    338336    zip_safe = False, 
    339337    entry_points = { 
    340                     'console_scripts':[ 
    341                                        "sasview = sas.sasview.sasview:run", 
    342                                        ] 
    343                     }, 
    344     cmdclass = {'build_ext': build_ext_subclass, 
    345                 'docs': BuildSphinxCommand, 
    346                 'disable_openmp': DisableOpenMPCommand} 
     338        'console_scripts': ["sasview = sas.sasview.sasview:run_cli"] 
     339        }, 
     340    cmdclass = { 
     341        'build_ext': build_ext_subclass, 
     342        'docs': BuildSphinxCommand, 
     343        'disable_openmp': DisableOpenMPCommand, 
     344        } 
    347345    )    
Note: See TracChangeset for help on using the changeset viewer.