Changeset 070ded0 in sasview for invariantview/setup.py
- Timestamp:
- May 3, 2010 8:35:46 AM (15 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:
- 569ad15
- Parents:
- 53937a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/setup.py
r935ae18 r070ded0 2 2 Installation script for DANSE calculator perspective for SansView 3 3 """ 4 import os 5 from distutils.core import setup 4 6 5 6 import os7 8 from distutils.core import setup9 from distutils.sysconfig import get_python_lib10 from distutils.filelist import findall11 new_path = os.path.join(get_python_lib(),"sans","perspectives","invariant","media")12 path = "media"13 data_files = []14 for f in findall(path):15 if os.path.split(f)[0].count('.svn')==0:16 data_files.append((new_path, [f]))17 from distutils.core import setup18 7 setup( 19 8 name="invariant", 20 9 description = "Invariant perspective for SansView", 21 10 package_dir = {"sans.perspectives":"perspectives", 22 "sans.perspectives.invariant":"perspectives/invariant"}, 23 data_files=data_files, 11 "sans.perspectives.invariant":"perspectives/invariant", 12 "sans.perspectives.invariant.media":"media"}, 13 package_data={'sans.perspectives.invariant.media': ['*']}, 24 14 packages = ["sans.perspectives", 25 "sans.perspectives.invariant"], 15 "sans.perspectives.invariant", 16 "sans.perspectives.invariant.media"], 26 17 ) 27 18
Note: See TracChangeset
for help on using the changeset viewer.