From b805df141675fcbadc28f1af28a064d77530f590 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 27 Apr 2019 21:08:40 -0400 Subject: [PATCH] fix version file path --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4206ee5f..adca4887 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as fh: script_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__))) -VERSION = open(os.path.join(script_dir, 'VERSION'), 'r').read().strip() +VERSION = open(os.path.join(script_dir, 'archivebox', 'VERSION'), 'r').read().strip() try: GIT_HEAD = open(os.path.join(script_dir, '.git', 'HEAD'), 'r').read().strip().split(': ')[1] GIT_SHA = open(os.path.join(script_dir, '.git', GIT_HEAD), 'r').read().strip()[:9]