Changeset 935ae18 in sasview


Ignore:
Timestamp:
Apr 21, 2010 2:23:35 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
d231f9a
Parents:
2d3e123
Message:

setup for invariant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/setup.py

    rc128284 r935ae18  
    33""" 
    44 
     5     
     6import os 
     7 
    58from distutils.core import setup 
    6  
     9from distutils.sysconfig import get_python_lib 
     10from distutils.filelist import findall 
     11new_path = os.path.join(get_python_lib(),"sans","perspectives","invariant","media") 
     12path = "media" 
     13data_files = [] 
     14for f in findall(path): 
     15    if os.path.split(f)[0].count('.svn')==0: 
     16        data_files.append((new_path, [f])) 
     17from distutils.core import setup 
    718setup( 
    819    name="invariant", 
     
    1021    package_dir = {"sans.perspectives":"perspectives", 
    1122                   "sans.perspectives.invariant":"perspectives/invariant"}, 
     23    data_files=data_files, 
    1224    packages = ["sans.perspectives", 
    1325                "sans.perspectives.invariant"], 
Note: See TracChangeset for help on using the changeset viewer.