- Timestamp:
- Feb 22, 2016 9:04:24 AM (9 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:
- 06aaa75d
- Parents:
- d7bb526
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
rd7bb526 rd85c194 168 168 packages.extend(["sas.invariant"]) 169 169 170 # sas. guiframe171 guiframe_path = os.path.join("src", "sas", " guiframe")172 package_dir["sas. guiframe"] = guiframe_path173 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 171 guiframe_path = os.path.join("src", "sas", "sasgui", "guiframe") 172 package_dir["sas.sasgui.guiframe"] = guiframe_path 173 package_dir["sas.sasgui.guiframe.local_perspectives"] = os.path.join(os.path.join(guiframe_path, "local_perspectives")) 174 package_data["sas.sasgui.guiframe"] = ['images/*', 'media/*'] 175 packages.extend(["sas.sasgui.guiframe", "sas.sasgui.guiframe.local_perspectives"]) 176 176 # build local plugin 177 177 for d in os.listdir(os.path.join(guiframe_path, "local_perspectives")): 178 178 if d not in ['.svn','__init__.py', '__init__.pyc']: 179 package_name = "sas. guiframe.local_perspectives." + d179 package_name = "sas.sasgui.guiframe.local_perspectives." + d 180 180 packages.append(package_name) 181 181 package_dir[package_name] = os.path.join(guiframe_path, "local_perspectives", d) … … 208 208 209 209 # 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/*']210 package_dir["sas.sasgui.perspectives"] = os.path.join("src", "sas", "sasgui", "perspectives") 211 package_dir["sas.sasgui.perspectives.pr"] = os.path.join("src", "sas", "sasgui", "perspectives", "pr") 212 packages.extend(["sas.sasgui.perspectives","sas.sasgui.perspectives.pr"]) 213 package_data["sas.sasgui.perspectives.pr"] = ['images/*'] 214 215 package_dir["sas.sasgui.perspectives.invariant"] = os.path.join("src", "sas", "sasgui", "perspectives", "invariant") 216 packages.extend(["sas.sasgui.perspectives.invariant"]) 217 package_data['sas.sasgui.perspectives.invariant'] = [os.path.join("media",'*')] 218 219 package_dir["sas.sasgui.perspectives.fitting"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting") 220 package_dir["sas.sasgui.perspectives.fitting.plugin_models"] = os.path.join("src", "sas", "sasgui", "perspectives", "fitting", "plugin_models") 221 packages.extend(["sas.sasgui.perspectives.fitting", 222 "sas.sasgui.perspectives.fitting.plugin_models"]) 223 package_data['sas.sasgui.perspectives.fitting'] = ['media/*','plugin_models/*'] 224 225 packages.extend(["sas.sasgui.perspectives", "sas.sasgui.perspectives.calculator"]) 226 package_data['sas.sasgui.perspectives.calculator'] = ['images/*', 'media/*'] 227 227 228 228 # Data util
Note: See TracChangeset
for help on using the changeset viewer.