From cc1359ebb96246278d8314a6efee74a561bdec48 Mon Sep 17 00:00:00 2001 From: Nickolai Novik Date: Fri, 13 Jan 2017 23:47:45 +0200 Subject: [PATCH] fix setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5e131b0..42c438b 100644 --- a/setup.py +++ b/setup.py @@ -17,14 +17,14 @@ def read(f): def read_version(): regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'") init_py = os.path.join(os.path.dirname(__file__), - 'aiohttp_admin', '__init__.py') + 'aiohttp_sse', '__init__.py') with open(init_py) as f: for line in f: match = regexp.match(line) if match is not None: return match.group(1) else: - msg = 'Cannot find version in aiohttp_admin/__init__.py' + msg = 'Cannot find version in aiohttp_sse/__init__.py' raise RuntimeError(msg)