Changeset bf47f2d in sasview


Ignore:
Timestamp:
Aug 10, 2011 4:41:03 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
e0459a0
Parents:
5182a89
Message:

updATE SETUP.PU

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansrealspace_modeling/setup.py

    r5ad0594 rbf47f2d  
    2929#pck_top = "sansModeling" 
    3030pck_top = "sans.simulation" 
    31  
     31pck_dir = os.path.join("src","sans", "simulation") 
    3232# The temp directory that the compiled files will be put in 
    3333tempdir = "build/temp."+util.get_platform()+'-'+sysconfig.get_python_version() 
     
    3939 
    4040# Define package directors, will be extended below 
    41 pck_dirs = {pck_top:os.path.join('sans', 'simulation')} 
     41pck_dirs = {pck_top:pck_dir} 
    4242 
    4343# List of modules to install, will be extende below 
     
    6464 
    6565for module in mod_list: 
    66     temp_path = os.path.join('sans', 'simulation', module, module) 
     66    temp_path = os.path.join(pck_dir, module, module) 
    6767    pck_dirs["%s.%s" % (pck_top, module)] = temp_path 
    6868    pck_list.append("%s.%s" % (pck_top, module)) 
    6969 
    70     src_m = "sans/simulation/%s/%smodule" % (module, module) 
    71     src_l = "sans/simulation/%s/lib%s" % (module, module) 
     70    src_m = os.path.join(pck_dir, module, "%smodule" %(module)) 
     71    src_l = os.path.join(pck_dir, module, "lib%s" % (module)) 
    7272 
    7373    files = get_c_files(src_m) 
     
    7777    for dep in deps[module]: 
    7878         
    79         for f in get_c_files("sans/simulation/%s/lib%s" % (dep, dep)): 
     79        for f in get_c_files(os.path.join(pck_dir, dep, "lib%s" % dep)): 
    8080            index = f.rindex('.') 
    8181            if os.name=='nt': 
     
    8383            else: 
    8484                fo = f[:index]+'.o' 
    85             libs[module].append("%s/%s" %(tempdir,fo)) 
     85            libs[module].append("%s/%s" %(tempdir, fo)) 
    8686         
    8787    files.extend(list_lib) 
Note: See TracChangeset for help on using the changeset viewer.