File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
_EPS = 1e-16
7
7
_TYPE = np .float64
8
- __version__ = "1.2.4"
9
8
10
9
11
10
def _prepare_data (pred : np .ndarray , gt : np .ndarray ) -> tuple :
Original file line number Diff line number Diff line change 2
2
3
3
from setuptools import find_packages , setup
4
4
5
- from py_sod_metrics .sod_metrics import __version__
5
+ with open ("./version.txt" , encoding = "utf-8" , mode = "r" ) as f :
6
+ version = f .readline ().strip ()
6
7
7
8
with open ("readme.md" , "r" ) as fh :
8
9
long_description = fh .read ()
9
10
10
11
setup (
11
12
name = "pysodmetrics" ,
12
13
packages = find_packages (),
13
- version = __version__ ,
14
+ version = version ,
14
15
license = "MIT" ,
15
16
description = "A simple and efficient implementation of SOD metrics." ,
16
17
long_description = long_description ,
Original file line number Diff line number Diff line change
1
+ 1.2.4
You can’t perform that action at this time.
0 commit comments