From bba5e2c1db9c34ce3eb242a1b00bd01b4ca0ac1d Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Tue, 23 Jul 2024 09:02:47 -0500 Subject: [PATCH] fix: read version from file at build time --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 52aba4aa..dec70888 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "equinix" -VERSION = "0.1.0" +VERSION = open('version').read() PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0",