Skip to content

Commit

Permalink
hotfix-0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sdc50 committed May 23, 2015
1 parent 4218292 commit 0003804
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
TethysCluster
=============
:TethysCluster: Cloud Computing Toolkit for Diverse Clusters
:Version: 0.1.3
:Version: 0.1.4
:Author: Scott Christensen
:Team: CI-Water
:Homepage: http://ci-water.org
:Homepage: http://ci-water.github.io/TethysCluster/
:License: LGPL

Description:
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ def find_packages(where='.', exclude=()):

README = open(os.path.join(basedir, 'README.rst')).read()
VERSION = 0.9999
VERSION = re.search(':Version: ([\.?\d]*)',README).group(1)
basedir = os.path.dirname(__file__)
static = os.path.join(basedir, 'tethyscluster', 'static.py')
execfile(static) # pull VERSION from static.py

setup(
name='TethysCluster',
Expand Down
11 changes: 1 addition & 10 deletions tethyscluster/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,8 @@ def create_tc_config_dirs():
__makedirs(TETHYSCLUSTER_PLUGIN_DIR)
__makedirs(TETHYSCLUSTER_LOG_DIR)

def get_version():
import re
basepath = os.path.dirname(__file__)
filepath = os.path.join(basepath, '..', 'README.rst')
with open(filepath,'r') as f:
text = f.read()
version = re.search(':Version: ([\.?\d]*)',text).group(1)
return version


VERSION = get_version()
VERSION = '0.1.4'
PID = os.getpid()
TMP_DIR = tempfile.gettempdir()
if os.path.exists("/tmp"):
Expand Down

0 comments on commit 0003804

Please sign in to comment.