From 273124ec2f3f25e6af896ac0b3759bee2ee2e77a Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Mon, 14 Nov 2016 14:22:03 +0530
Subject: [PATCH] Squashed 'moose-core/' changes from 343cb02..14cf2df

14cf2df Fixed the setup.py file. Use absolute path for script to determine absolute path of VERSION file.

git-subtree-dir: moose-core
git-subtree-split: 14cf2df3a65456c6b4ce67b2d34110fd3400c982
---
 VERSION         | 2 +-
 python/setup.py | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/VERSION b/VERSION
index 8dd31a6d..3b75fab3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.1.0-119-g835bf9a
\ No newline at end of file
+3.1.0-120-g343cb02
\ No newline at end of file
diff --git a/python/setup.py b/python/setup.py
index 92ef412c..0e984ec4 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -31,7 +31,9 @@ __status__           = "Development"
 import os
 from distutils.core import setup
 
-with open( '../../VERSION', 'r' ) as f:
+script_dir = os.path.dirname( os.path.abspath( __FILE__ ) )
+
+with open( os.path.join( script_dir, '../../VERSION'), 'r' ) as f:
     version = f.read( )
 
 try:
-- 
GitLab