From c8e76d1d901dae4420b7997ce5eb1a979507d4c8 Mon Sep 17 00:00:00 2001 From: xsamueljr Date: Fri, 7 Jun 2024 00:42:34 +0200 Subject: [PATCH] fix: better way of importing the `VERSION` constant --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dae5a810..e08c441d 100755 --- a/setup.py +++ b/setup.py @@ -1,7 +1,8 @@ from setuptools import setup +from shopify.version import VERSION + NAME = "ShopifyAPI" -exec(open("shopify/version.py").read()) DESCRIPTION = "Shopify API for Python" LONG_DESCRIPTION = """\ The ShopifyAPI library allows python developers to programmatically