diff --git a/setup.py b/setup.py index b7a916a..4159453 100644 --- a/setup.py +++ b/setup.py @@ -23,6 +23,7 @@ from setuptools import setup + def read(*names, **kwargs): with io.open( os.path.join(os.path.dirname(__file__), *names), @@ -30,6 +31,7 @@ def read(*names, **kwargs): ) as fp: return fp.read() + def find_version(*file_paths): version_file = read(*file_paths) version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",