From a926ff1bba6cb7cea03063c05db906287569ee91 Mon Sep 17 00:00:00 2001 From: hack Date: Fri, 28 Oct 2011 17:19:37 +0000 Subject: Maybe this time the defsetup and new_setup files for STWCS will correctly install all the data files associated with the stwcs.gui package (namely, .cfg/.cfgspc and .help files). git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13922 fe389314-cf27-0410-b35b-8c050e845b92 --- defsetup.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'defsetup.py') diff --git a/defsetup.py b/defsetup.py index 423306a..ee830ae 100644 --- a/defsetup.py +++ b/defsetup.py @@ -3,13 +3,16 @@ from __future__ import division # confidence high import sys pkg = ["stwcs", 'stwcs.updatewcs', 'stwcs.wcsutil', 'stwcs.distortion', 'stwcs.gui'] +pkg_gui = "stwcs/gui" setupargs = { 'version' : "0.8", 'description' : "Recomputes the WCS of an HST observation and puts all istortion corrections in the headers.", - 'package_dir': {'stwcs':'lib/stwcs', 'stwcs.updatewcs': 'lib/stwcs/updatewcs', 'stwcs.gui':'lib/stwcs/gui', + 'package_dir': {'stwcs':'lib/stwcs', 'stwcs.updatewcs': 'lib/stwcs/updatewcs', 'stwcs.gui':'lib/stwcs/gui', 'stwcs.wcsutil': 'lib/stwcs/wcsutil', 'stwcs.distortion': 'lib/stwcs/distortion'}, - + 'data_files' : [( pkg_gui+"/pars", ['lib/stwcs/gui/pars/*']), + ( pkg_gui+"/htmlhelp", ['lib/stwcs/gui/htmlhelp/*.html']), + ( pkg_gui, ['lib/stwcs/gui/*.help'])], 'author' : "Nadia Dencheva, Warren Hack", 'author_email' : "help@stsci.edu", 'license' : "http://www.stsci.edu/resources/software_hardware/pyraf/LICENSE", -- cgit