Skip to content

Commit 16b3c9b

Browse files
committed
Merge branch 'hotfix/0.2.7'
2 parents ac345b9 + 3ace723 commit 16b3c9b

15 files changed

+21
-16
lines changed

AstroObject/AnalyticSpectra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-12.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
# Parent Modules

AstroObject/AnalyticSpectraObjects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-12.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
# Parent Modules

AstroObject/AstroFITS.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-11-08.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
# Parent Modules

AstroObject/AstroImage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-04-28.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
# Parent Modules

AstroObject/AstroObject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-19.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
# This file maintains compatability with the 0.2 API for base classes

AstroObject/AstroObjectBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-12.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010

AstroObject/AstroSpectra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-07.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010

AstroObject/Utilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Created by Alexander Rudy on 2011-10-07.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
import matplotlib as mpl
@@ -29,7 +29,7 @@ def enable_Console():
2929
"""docstring for enable_Console"""
3030
logging.getLogger('').addHandler(console)
3131

32-
def getVersion(rel=__name__,filename="../VERSION",getTuple=False):
32+
def getVersion(rel=__name__,filename="VERSION",getTuple=False):
3333
"""Returns the version number as either a string or tuple. The version number is retrieved from the "VERSION" file, which should contain just the text for the version and nothing else. When the version is returned as a tuple, each component (level) of the version number is a seperate, integer element of the tuple."""
3434
string = resource_string(rel,filename)
3535
if getTuple:

AstroObject/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.2.7

AstroObject/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55
# Created by Alexander Rudy on 2011-10-07.
66
# Copyright 2011 Alexander Rudy. All rights reserved.
7-
# Version 0.2.6
7+
# Version 0.2.7
88
#
99

1010
import logging,time,sys,os
1111

1212

13-
__version__ = '0.2.6'
13+
__version__ = '0.2.7'
1414

1515
__all__ = ['AnalyticSpectra','AstroImage','AstroObjectBase','AstroSpectra','Utilities']
1616

Docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '0.2.6'
51+
version = '0.2.7'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '0.2.6'
53+
release = '0.2.7'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Created by Alexander Rudy on 2011-10-07.
66
Copyright 2011 Alexander Rudy. All rights reserved.
77

8-
Version 0.2.6
8+
Version 0.2.7
99

1010
---
1111

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.6
1+
0.2.7

bump-version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ then
2525
fi
2626

2727
VSPECFILE="VERSION"
28+
AVSPECFILE="AstroObject/VERSION"
2829

2930
VERSION=`cat $VSPECFILE`
3031

3132
echo "Version is currently $VERSION, changing to $1"
3233

3334
echo "$1" > $VSPECFILE
35+
echo "$1" > $AVSPECFILE
3436

3537
VERSION=`cat $VSPECFILE`
3638

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
from setuptools import setup, find_packages
22
setup(
33
name = "AstroObject",
4-
version = "0.2.6",
4+
version = "0.2.7",
55
py_modules=["AstroObject"],
66
packages = find_packages(
77
exclude=['tests.*'],
88
),
9+
package_data = {'':['VERSION','README.md','LICENCE']},
10+
include_package_data = True,
911
exclude_package_data = {'': ['.gitignore','bump-version.sh','distribute.sh'], 'Docs/build':['*.rst']},
1012
install_requires = ['pyfits>=2.4','numpy>=1.6','scipy>=0.9','matplotlib>=1.1'],
1113
test_suite = 'tests',

0 commit comments

Comments
 (0)