diff options
author | hack <hack@stsci.edu> | 2011-10-28 13:19:37 -0400 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-10-28 13:19:37 -0400 |
commit | a926ff1bba6cb7cea03063c05db906287569ee91 (patch) | |
tree | d45271b38160d38791f696d13f2c7c57fa7349a3 | |
parent | 8200f7d021b6c4dc33ffe87352be00a5b00af700 (diff) | |
download | stwcs_hcf-a926ff1bba6cb7cea03063c05db906287569ee91.tar.gz |
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
-rw-r--r-- | defsetup.py | 7 | ||||
-rw-r--r-- | new_setup.cfg | 2 |
2 files changed, 7 insertions, 2 deletions
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", diff --git a/new_setup.cfg b/new_setup.cfg index 12f70f8..8cb87d3 100644 --- a/new_setup.cfg +++ b/new_setup.cfg @@ -26,6 +26,8 @@ packages = stwcs.updatewcs stwcs.wcsutil stwcs.gui +pacakge_data = + stwcs.gui = gui/pars/* gui/htmlhelp/*.html gui/*.help [global] commands = stsci.distutils.command.easier_install.easier_install |