Changeset d85c194 in sasview for setup.py


Ignore:
Timestamp:
Feb 22, 2016 9:04:24 AM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
06aaa75d
Parents:
d7bb526
Message:

Remaining modules refactored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    rd7bb526 rd85c194  
    168168packages.extend(["sas.invariant"]) 
    169169 
    170 # sas.guiframe 
    171 guiframe_path = os.path.join("src", "sas", "guiframe") 
    172 package_dir["sas.guiframe"] = guiframe_path 
    173 package_dir["sas.guiframe.local_perspectives"] = os.path.join(os.path.join(guiframe_path, "local_perspectives")) 
    174 package_data["sas.guiframe"] = ['images/*', 'media/*'] 
    175 packages.extend(["sas.guiframe", "sas.guiframe.local_perspectives"]) 
     170# sas.sasgui.guiframe 
     171guiframe_path = os.path.join("src", "sas", "sasgui", "guiframe") 
     172package_dir["sas.sasgui.guiframe"] = guiframe_path 
     173package_dir["sas.sasgui.guiframe.local_perspectives"] = os.path.join(os.path.join(guiframe_path, "local_perspectives")) 
     174package_data["sas.sasgui.guiframe"] = ['images/*', 'media/*'] 
     175packages.extend(["sas.sasgui.guiframe", "sas.sasgui.guiframe.local_perspectives"]) 
    176176# build local plugin 
    177177for d in os.listdir(os.path.join(guiframe_path, "local_perspectives")): 
    178178    if d not in ['.svn','__init__.py', '__init__.pyc']: 
    179         package_name = "sas.guiframe.local_perspectives." + d 
     179        package_name = "sas.sasgui.guiframe.local_perspectives." + d 
    180180        packages.append(package_name) 
    181181        package_dir[package_name] = os.path.join(guiframe_path, "local_perspectives", d) 
     
    208208 
    209209# Perspectives 
    210 package_dir["sas.perspectives"] = os.path.join("src", "sas", "perspectives") 
    211 package_dir["sas.perspectives.pr"] = os.path.join("src", "sas", "perspectives", "pr") 
    212 packages.extend(["sas.perspectives","sas.perspectives.pr"]) 
    213 package_data["sas.perspectives.pr"] = ['images/*'] 
    214  
    215 package_dir["sas.perspectives.invariant"] = os.path.join("src", "sas", "perspectives", "invariant") 
    216 packages.extend(["sas.perspectives.invariant"]) 
    217 package_data['sas.perspectives.invariant'] = [os.path.join("media",'*')] 
    218  
    219 package_dir["sas.perspectives.fitting"] = os.path.join("src", "sas", "perspectives", "fitting") 
    220 package_dir["sas.perspectives.fitting.plugin_models"] = os.path.join("src", "sas", "perspectives", "fitting", "plugin_models") 
    221 packages.extend(["sas.perspectives.fitting",  
    222                  "sas.perspectives.fitting.plugin_models"]) 
    223 package_data['sas.perspectives.fitting'] = ['media/*','plugin_models/*'] 
    224  
    225 packages.extend(["sas.perspectives", "sas.perspectives.calculator"])     
    226 package_data['sas.perspectives.calculator'] = ['images/*', 'media/*'] 
     210package_dir["sas.sasgui.perspectives"] = os.path.join("src", "sas", "sasgui", "perspectives") 
     211package_dir["sas.sasgui.perspectives.pr"] = os.path.join("src", "sas", "sasgui", "perspectives", "pr") 
     212packages.extend(["sas.sasgui.perspectives","sas.sasgui.perspectives.pr"]) 
     213package_data["sas.sasgui.perspectives.pr"] = ['images/*'] 
     214 
     215package_dir["sas.sasgui.perspectives.invariant"] = os.path.join("src", "sas", "sasgui", "perspectives", "invariant") 
     216packages.extend(["sas.sasgui.perspectives.invariant"]) 
     217package_data['sas.sasgui.perspectives.invariant'] = [os.path.join("media",'*')] 
     218 
     219package_dir["sas.sasgui.perspectives.fitting"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting") 
     220package_dir["sas.sasgui.perspectives.fitting.plugin_models"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting", "plugin_models") 
     221packages.extend(["sas.sasgui.perspectives.fitting",  
     222                 "sas.sasgui.perspectives.fitting.plugin_models"]) 
     223package_data['sas.sasgui.perspectives.fitting'] = ['media/*','plugin_models/*'] 
     224 
     225packages.extend(["sas.sasgui.perspectives", "sas.sasgui.perspectives.calculator"])     
     226package_data['sas.sasgui.perspectives.calculator'] = ['images/*', 'media/*'] 
    227227     
    228228# Data util 
Note: See TracChangeset for help on using the changeset viewer.