22name = " machinevision-toolbox-python"
33version = " 0.9.7"
44authors = [
5- { name = " Peter Corke" , email = " rvc@petercorke.com" },
6- { name = " Dorian Tsai" },
5+ { name = " Peter Corke" , email = " rvc@petercorke.com" },
6+ { name = " Dorian Tsai" },
77]
88description = " Python tools for machine vision - education and research"
99readme = " README.md"
@@ -35,11 +35,11 @@ keywords = [
3535 " morphology" ,
3636 " image segmentation" ,
3737 " opencv" ,
38- " open3d"
38+ " open3d" ,
3939]
4040
4141dependencies = [
42- " numpy>=1.17.4" ,
42+ " numpy>=1.17.4, < 2.0.0 " , # OpenCV requires numpy 1.x
4343 " scipy" ,
4444 " matplotlib" ,
4545 " opencv-python" ,
@@ -59,26 +59,23 @@ dependencies = [
5959
6060[project .optional-dependencies ]
6161
62- dev = [
63- " pytest" ,
64- " coverage" ,
65- " flake8"
66- ]
62+ dev = [" pytest" , " coverage" , " flake8" ]
6763
6864docs = [
6965 " sphinx" ,
7066 " recommonmark" ,
71- " sphinx-rtd-theme" ,
72- " sphinx-autorun" ,
73- " sphinxcontrib-jsmath" ,
67+ " sphinx-rtd-theme" ,
68+ " sphinx-autorun" ,
69+ " sphinxcontrib-jsmath" ,
7470 " sphinx-markdown-tables" ,
7571 " sphinx-favicon" ,
7672]
7773
7874[tool .pytest .ini_options ]
79- pythonpath = [
80- " ." , " machinevisiontoolbox" , " mvtb-data" , " mvtb-data/mvtbdata" ,
81- ]
75+ pythonpath = [" ." , " machinevisiontoolbox" , " mvtb-data" , " mvtb-data/mvtbdata" ]
76+
77+ [project .scripts ]
78+ mvtbtool = " machinevisiontoolbox.bin.mvtbtool:main"
8279
8380[build-system ]
8481requires = [" setuptools" , " oldest-supported-numpy" ]
@@ -97,5 +94,4 @@ target-version = ['py37']
9794exclude = " camera_derivatives.py"
9895
9996[tool .coverage .run ]
100- omit = [
101- ]
97+ omit = []
0 commit comments