diff --git a/.gitignore b/.gitignore index 608c272..8850587 100644 --- a/.gitignore +++ b/.gitignore @@ -26,4 +26,4 @@ __pycache__/ *.py[cod] # Other -/VERSION +/VERSION.info diff --git a/wscript b/wscript index cdd0470..848dbf1 100644 --- a/wscript +++ b/wscript @@ -143,7 +143,7 @@ def version(ctx): except (OSError, subprocess.CalledProcessError): pass - versionFile = ctx.path.find_node('VERSION') + versionFile = ctx.path.find_node('VERSION.info') if not gotVersionFromGit and versionFile is not None: try: Context.g_module.VERSION = versionFile.read() @@ -160,7 +160,7 @@ def version(ctx): except EnvironmentError as e: Logs.warn('%s exists but is not readable (%s)' % (versionFile, e.strerror)) else: - versionFile = ctx.path.make_node('VERSION') + versionFile = ctx.path.make_node('VERSION.info') try: versionFile.write(Context.g_module.VERSION)