mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 06:46:16 +00:00
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:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user