From 0d80dab6ac814068cadc2eebdc5620d73156b5bf Mon Sep 17 00:00:00 2001 From: David Ray Date: Tue, 8 Apr 2014 09:07:40 -0400 Subject: [PATCH] Python3 support Move from execfile to exec (py2~3 compatibility) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c24d949b..2968ca9c 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup NAME='ShopifyAPI' -execfile('shopify/version.py') +exec(open('shopify/version.py').read()) DESCRIPTION='Shopify API for Python' LONG_DESCRIPTION="""\ The ShopifyAPI library allows python developers to programmatically