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 55
66_EPS = 1e-16
77_TYPE = np .float64
8- __version__ = "1.2.4"
98
109
1110def _prepare_data (pred : np .ndarray , gt : np .ndarray ) -> tuple :
Original file line number Diff line number Diff line change 22
33from setuptools import find_packages , setup
44
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 ()
67
78with open ("readme.md" , "r" ) as fh :
89 long_description = fh .read ()
910
1011setup (
1112 name = "pysodmetrics" ,
1213 packages = find_packages (),
13- version = __version__ ,
14+ version = version ,
1415 license = "MIT" ,
1516 description = "A simple and efficient implementation of SOD metrics." ,
1617 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