Skip to content

Commit abfa28d

Browse files
committed
add version
1 parent de04c97 commit abfa28d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def get_requirements():
1818

1919
def get_version():
2020
current_dir = os.path.abspath(os.path.dirname(__file__))
21-
version_file = os.path.join(current_dir, "sahi", "__init__.py")
21+
version_file = os.path.join(
22+
current_dir, "streamlit_image_comparison", "__init__.py"
23+
)
2224
with io.open(version_file, encoding="utf-8") as f:
2325
return re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', f.read(), re.M).group(1)
2426

streamlit_image_comparison/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import os
77
import uuid
88

9+
__version__ = "0.0.1"
10+
911
TEMP_DIR = "temp"
1012

1113

0 commit comments

Comments
 (0)