Changeset bf47f2d in sasview for sansrealspace_modeling
- Timestamp:
- Aug 10, 2011 2:41:03 PM (13 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansrealspace_modeling/setup.py
r5ad0594 rbf47f2d 29 29 #pck_top = "sansModeling" 30 30 pck_top = "sans.simulation" 31 31 pck_dir = os.path.join("src","sans", "simulation") 32 32 # The temp directory that the compiled files will be put in 33 33 tempdir = "build/temp."+util.get_platform()+'-'+sysconfig.get_python_version() … … 39 39 40 40 # Define package directors, will be extended below 41 pck_dirs = {pck_top: os.path.join('sans', 'simulation')}41 pck_dirs = {pck_top:pck_dir} 42 42 43 43 # List of modules to install, will be extende below … … 64 64 65 65 for module in mod_list: 66 temp_path = os.path.join( 'sans', 'simulation', module, module)66 temp_path = os.path.join(pck_dir, module, module) 67 67 pck_dirs["%s.%s" % (pck_top, module)] = temp_path 68 68 pck_list.append("%s.%s" % (pck_top, module)) 69 69 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)) 72 72 73 73 files = get_c_files(src_m) … … 77 77 for dep in deps[module]: 78 78 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)): 80 80 index = f.rindex('.') 81 81 if os.name=='nt': … … 83 83 else: 84 84 fo = f[:index]+'.o' 85 libs[module].append("%s/%s" %(tempdir, fo))85 libs[module].append("%s/%s" %(tempdir, fo)) 86 86 87 87 files.extend(list_lib)
Note: See TracChangeset
for help on using the changeset viewer.