summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2010-10-14 11:33:36 -0400
committerdencheva <dencheva@stsci.edu>2010-10-14 11:33:36 -0400
commit7364f60fde7638ec79dac7c1ae36a75a21b62429 (patch)
tree78c37e6eddfa83c7929606a13a59018f2bcffd55
parent1041b23b6255f0d339eefddd3012d1088ca7f170 (diff)
downloadstwcs_hcf-7364f60fde7638ec79dac7c1ae36a75a21b62429.tar.gz
One version string for the package
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10536 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r--defsetup.py2
-rw-r--r--lib/__init__.py2
-rw-r--r--updatewcs/__init__.py2
-rw-r--r--wcsutil/__init__.py4
4 files changed, 3 insertions, 7 deletions
diff --git a/defsetup.py b/defsetup.py
index 69fc95d..2e6d782 100644
--- a/defsetup.py
+++ b/defsetup.py
@@ -5,7 +5,7 @@ import sys
pkg = ["stwcs", 'stwcs.updatewcs', 'stwcs.wcsutil', 'stwcs.distortion']
setupargs = {
- 'version' : "0.1",
+ 'version' : "0.8",
'description' : "Recomputes the WCS of an HST observation and puts all istortion corrections in the headers.",
'package_dir': {'stwcs':'lib', 'stwcs.updatewcs': 'updatewcs',
'stwcs.wcsutil': 'wcsutil', 'stwcs.distortion': 'distortion'},
diff --git a/lib/__init__.py b/lib/__init__.py
index 0728a1c..9e7c353 100644
--- a/lib/__init__.py
+++ b/lib/__init__.py
@@ -23,6 +23,8 @@ __docformat__ = 'restructuredtext'
DEGTORAD = fileutil.DEGTORAD
RADTODEG = fileutil.RADTODEG
+__version__ = '0.8'
+
try:
import svn_version
__svn_version__ = svn_version.__svn_version__
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py
index 48c4c43..868fec1 100644
--- a/updatewcs/__init__.py
+++ b/updatewcs/__init__.py
@@ -16,8 +16,6 @@ import apply_corrections
__docformat__ = 'restructuredtext'
-__version__ = '0.8'
-
def updatewcs(input, vacorr=True, tddcorr=True, dgeocorr=True, d2imcorr=True,
checkfiles=True, wcskey=" ", wcsname=" ", clobber=False):
"""
diff --git a/wcsutil/__init__.py b/wcsutil/__init__.py
index 2b7dbcd..1b2512f 100644
--- a/wcsutil/__init__.py
+++ b/wcsutil/__init__.py
@@ -7,11 +7,7 @@ from hstwcs import HSTWCS
__docformat__ = 'restructuredtext'
-__version__ = '0.8'
-"""
-Example go here
-"""
def help():
print 'How to create an HSTWCS object:\n\n'