Changeset 8db3904 in sasview
- Timestamp:
- Jan 14, 2011 9:50:28 PM (14 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:
- b70caa1
- Parents:
- 5878f190
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/setup.py
rbdcc69e r8db3904 7 7 8 8 from distutils.sysconfig import get_python_lib 9 import os, sys 9 import os 10 import sys 10 11 12 13 path = os.path.join(os.getcwd(), 'local_perspectives') 11 14 package_dir = { "sans.guiframe":".", 12 "sans.guiframe.local_perspectives":"local_perspectives", 13 "sans.guiframe.local_perspectives.plotting":"local_perspectives/plotting"} 14 15 "sans.guiframe.local_perspectives":"local_perspectives"} 15 16 packages = ["sans.guiframe", 16 "sans.guiframe.local_perspectives", 17 "sans.guiframe.local_perspectives.plotting"] 18 17 "sans.guiframe.local_perspectives"] 18 # build local plugin 19 for dir in os.listdir(path): 20 if dir not in ['.svn','__init__.py', '__init__.pyc']: 21 package_name = "sans.guiframe.local_perspectives." + dir 22 packages.append(package_name) 23 package_dir[package_name] = "local_perspectives/" + dir 24 19 25 # Check whether the sans module exists, 20 26 # if not, make sure a default __init__ is created
Note: See TracChangeset
for help on using the changeset viewer.