From fbb418c36576e84fd980b32ac824a2a1571cc2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 8 Jan 2018 18:20:04 +0100 Subject: [PATCH] Remove import in setup.py --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 61d17d5..2b07f49 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,10 @@ import pip from setuptools import setup # parse_requirements() returns generator of pip.req.InstallRequirement objects from pip.req import parse_requirements -from senpy import __version__ + +with open('senpy/VERSION') as f: + __version__ = f.read().strip() + assert __version__ try: install_reqs = parse_requirements(