Changeset 8433093 in sasview


Ignore:
Timestamp:
May 25, 2011 2:39:05 PM (13 years ago)
Author:
pkienzle
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:
a3fc33d
Parents:
acf536e
Message:

add namespace package support

Location:
calculator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • calculator/sans/__init__.py

    r3c44c66 r8433093  
     1from pkgutil import extend_path 
     2__path__ = extend_path(__path__, __name__) 
  • calculator/setup.py

    rb758a54 r8433093  
    1111    author = "University of Tennessee", 
    1212    url = "http://danse.chem.utk.edu", 
    13      
     13 
    1414    # Use the pure python modules 
    1515    package_dir = {"sans.calculator":"."}, 
    16      
    17     packages = ["sans.calculator"] 
     16    packages = ["sans","sans.calculator"], 
    1817    ) 
    19          
Note: See TracChangeset for help on using the changeset viewer.