Permalink
Browse files

use runpy instead of execfile for Python3 compat; bump version

  • Loading branch information...
Talha Zaman
Talha Zaman committed Aug 4, 2017
1 parent b5c7aa7 commit 9508addeb16c39a712c61a4ba982ac6d17bbd294
Showing with 3 additions and 4 deletions.
  1. +1 −1 chumpy/version.py
  2. +2 −3 setup.py
View
@@ -1,3 +1,3 @@
version = '0.67.4'
version = '0.67.5'
short_version = version
full_version = version
View
@@ -5,15 +5,14 @@
"""
from distutils.core import setup
import importlib
from pip.req import parse_requirements
from runpy import run_path
install_reqs = parse_requirements('requirements.txt', session=False)
install_requires = [str(ir.req) for ir in install_reqs]
def get_version():
namespace = {}
execfile('chumpy/version.py', namespace)
namespace = run_path('chumpy/version.py')
return namespace['version']
setup(name='chumpy',

0 comments on commit 9508add

Please sign in to comment.