source: sasview/calculatorview/setup.py @ 4d27f9a4

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 4d27f9a4 was 9e977fc, checked in by Jae Cho <jhjcho@…>, 15 years ago

added version number

  • Property mode set to 100644
File size: 821 bytes
Line 
1"""
2     Installation script for DANSE calculator perspective for SansView
3"""
4
5import os
6 
7from distutils.core import setup
8from distutils.sysconfig import get_python_lib
9from distutils.filelist import findall
10new_path = os.path.join(get_python_lib(),"sans","perspectives","calculator","media")
11path = "media"
12data_files = []
13for f in findall(path):
14    if os.path.split(f)[0].count('.svn')==0:
15        data_files.append((new_path, [f]))
16setup(
17    name="calculator",
18    version = "0.1",
19    description="calculator perspective for SansView",
20    package_dir={"sans.perspectives":"perspectives",
21                   "sans.perspectives.calculator":"perspectives/calculator"},
22    data_files=data_files,
23    packages=["sans.perspectives",
24                "sans.perspectives.calculator"],
25    )
26
Note: See TracBrowser for help on using the repository browser.