File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import pandas as pd
44from skimage .feature import peak_local_max
55from scipy .signal import find_peaks
6+ from .version import __version__
67
78from .NMS import NMS
89
910__all__ = ['NMS' ]
10- __version__ = '1.5.3'
1111
1212def _findLocalMax_ (corrMap , score_threshold = 0.6 ):
1313 '''
Original file line number Diff line number Diff line change 1+ # Store the version here so:
2+ # 1) we don't load dependencies by storing it in __init__.py
3+ # 2) we can import it in setup.py for the same reason
4+ # 3) we can import it into your module module
5+ __version__ = '1.5.3post'
Original file line number Diff line number Diff line change 33with open ("README.md" , "r" ) as fh :
44 long_description = fh .read ()
55
6+ # Read version from MTM/version.py
7+ exec (open ('MTM/version.py' ).read ())
8+
9+
610setuptools .setup (
711 name = "Multi-Template-Matching" ,
8- version = "1.5.3" ,
12+ version = __version__ ,
913 author = "Laurent Thomas" ,
1014 author_email = "laurent132.thomas@laposte.net" ,
1115 description = "Object-recognition in images using multiple templates" ,
You can’t perform that action at this time.
0 commit comments