Consolidated httpbin version string into a single location in file VERSION.

Also added the new VERSION file to the manifest.

Signed-off-by: Brett Randall <javabrett@gmail.com>
This commit is contained in:
Brett Randall
2018-05-21 17:14:28 +10:00
parent c39f633236
commit 6374680e72
4 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -5,9 +5,12 @@ import io
# long_description = io.open(
# os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read()
with open(os.path.join(os.path.realpath(os.path.dirname(__file__)), 'httpbin', 'VERSION')) as version_file:
version = version_file.read().strip()
setup(
name="httpbin",
version="0.9.0",
version=version,
description="HTTP Request and Response Service",
# long_description=long_description,