diff --git a/setup.py b/setup.py index b55a8cf1a..103d27018 100755 --- a/setup.py +++ b/setup.py @@ -60,6 +60,12 @@ def read_version(): return variables["VERSION"] +def read(fname, encoding="ascii"): + return open( + os.path.join(os.path.dirname(__file__), fname), "r", encoding=encoding + ).read() + + if __name__ == "__main__": VERSION = read_version()