From 286abda9e67339cfe07b3428a1a789aba8e6bbd1 Mon Sep 17 00:00:00 2001 From: Minchul Lee Date: Sat, 6 Jun 2020 13:36:37 +0900 Subject: [PATCH] fixed for versioning --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d7e3cf1..c8aff01 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,8 @@ import os, os.path, struct, re, platform from setuptools.command.install import install import numpy -import tomotopy.version + +exec(open('tomotopy/version.py').read()) here = os.path.abspath(os.path.dirname(__file__)) @@ -54,7 +55,7 @@ setup( name='tomotopy', - version=tomotopy.version.__version__, + version=__version__, description='Tomoto, The Topic Modeling Tool for Python', long_description=long_description,