Changeset aa61e49 in sasview


Ignore:
Timestamp:
Nov 28, 2007 10:26:17 AM (17 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
3d781ac
Parents:
883a2ef
Message:

Standardized setup.py, installs in sans.simulation

File:
1 moved

Legend:

Unmodified
Added
Removed
  • realSpaceModeling/setup.py

    rf2d6445 raa61e49  
    2424    return clist 
    2525 
     26# Top package name 
     27#pck_top = "sansModeling" 
     28pck_top = "sans.simulation" 
     29 
    2630# The temp directory that the compiled files will be put in 
    2731tempdir = "build/temp."+util.get_platform()+'-'+sysconfig.get_python_version() 
     
    3337 
    3438# Define package directors, will be extended below 
    35 pck_dirs = {"sansModeling":"."} 
     39pck_dirs = {pck_top:"."} 
    3640 
    3741# List of modules to install, will be extende below 
    38 pck_list = ["sansModeling"] 
     42pck_list = [pck_top] 
    3943 
    4044# List of python extensions, will be extended below 
     
    5862 
    5963for module in mod_list: 
    60     pck_dirs["sansModeling.%s" % module] = "%s/%s" % (module, module) 
    61     pck_list.append("sansModeling.%s" % module) 
     64    pck_dirs["%s.%s" % (pck_top, module)] = "%s/%s" % (module, module) 
     65    pck_list.append("%s.%s" % (pck_top, module)) 
    6266 
    6367    src_m = "%s/%smodule" % (module, module) 
     
    8589     
    8690for module in mod_list: 
    87     exts.append( Extension("sansModeling.%s.%s" % (module, module), 
     91    exts.append( Extension("%s.%s.%s" % (pck_top, module, module), 
    8892        sources = file_list[module], 
    8993        extra_objects=libs[module], 
Note: See TracChangeset for help on using the changeset viewer.