Changeset 2d3e123 in sasview


Ignore:
Timestamp:
Apr 21, 2010 2:22:48 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:
935ae18
Parents:
d520f1b
Message:

setup for calculator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/setup.py

    r8d1e745 r2d3e123  
    33""" 
    44 
     5import os 
     6 
     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","calculator","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])) 
    717setup( 
    818    name="calculator", 
    9     description = "calculator perspective for SansView", 
    10     package_dir = {"sans.perspectives":"perspectives", 
     19    description="calculator perspective for SansView", 
     20    package_dir={"sans.perspectives":"perspectives", 
    1121                   "sans.perspectives.calculator":"perspectives/calculator"}, 
    12     packages = ["sans.perspectives", 
     22    data_files=data_files, 
     23    packages=["sans.perspectives", 
    1324                "sans.perspectives.calculator"], 
    1425    ) 
Note: See TracChangeset for help on using the changeset viewer.