Changeset 5881b17 in sasview for setup.py


Ignore:
Timestamp:
Apr 28, 2016 7:29:38 AM (9 years ago)
Author:
wojciech
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:
aff7904
Parents:
70be725
Message:

Setup changes to make mac running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    rc8843be r5881b17  
    3838# except when there is no such file 
    3939# Todo : make this list generic 
    40 # plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 
     40#plugin_model_list = ['polynominal5.py', 'sph_bessel_jn.py', 
    4141#                      'sum_Ap1_1_Ap2.py', 'sum_p1_p2.py', 
    4242#                      'testmodel_2.py', 'testmodel.py', 
     
    5959    if os.path.isfile(f_path): 
    6060        os.remove(f_path) 
    61     # f_path = os.path.join(sas_dir, 'plugin_models') 
    62     # if os.path.isdir(f_path): 
     61    #f_path = os.path.join(sas_dir, 'plugin_models') 
     62    #if os.path.isdir(f_path): 
    6363    #     for f in os.listdir(f_path): 
    6464    #         if f in plugin_model_list: 
     
    296296append_file(file_sources, gen_dir) 
    297297 
     298#Wojtek's hacky way to add doc files while bundling egg 
     299#def add_doc_files(directory): 
     300#    paths = [] 
     301#    for (path, directories, filenames) in os.walk(directory): 
     302#        for filename in filenames: 
     303#            paths.append(os.path.join(path, filename)) 
     304#    return paths 
     305 
     306#doc_files = add_doc_files('doc') 
     307 
    298308# SasView 
    299309package_dir["sas.sasview"] = "sasview" 
    300 package_data['sas.sasview'] = ['images/*',  
     310package_data['sas.sasview'] = ['images/*', 
    301311                               'media/*', 
    302312                               'test/*.txt', 
     
    324334else: 
    325335    required.extend(['pil']) 
    326     
     336 
    327337# Set up SasView     
    328338setup( 
Note: See TracChangeset for help on using the changeset viewer.