File tree 4 files changed +29
-37
lines changed
4 files changed +29
-37
lines changed Original file line number Diff line number Diff line change 54
54
- name : Check typing with mypy
55
55
if : ${{ !((matrix.python-version == '2.7') || (matrix.python-version == '3.5')) }}
56
56
run : mypy imagehash tests/*.py --follow-imports=silent --ignore-missing-imports || true
57
- - name : Test install from setup.py
58
- run : pip install .
57
+ - name : build wheel
58
+ run : python3 -m build -nwx .
59
+ - name : Install the built wheel
60
+ run : pip install --upgrade ./dist/*.whl
59
61
- run : coverage run -m pytest .
60
62
- name : Convert coverage output to lcov for coveralls
61
63
# coverage-lcov requires python 3.6, so we cannot upload results
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=42.2" ]
3
+ build-backend = " setuptools.build_meta"
Original file line number Diff line number Diff line change
1
+ [metadata]
2
+ name = ImageHash
3
+ version = 4.3.0
4
+ author = Johannes Buchner
5
+
6
+ license = BSD-2-Clause
7
+ description = Image Hashing library
8
+ url = https://github.com/JohannesBuchner/imagehash
9
+ long_description = file: README.rst
10
+ long_description_content_type = text/x-rst
11
+
1
12
[bdist_wheel]
2
13
universal = 1
3
14
15
+ [options]
16
+ packages = imagehash
17
+ install_requires = numpy; scipy; pillow; PyWavelets
18
+ scripts = find_similar_images.py
19
+ test_suite = tests
20
+ tests_require = pytest>=3
21
+
22
+ [options.package_data]
23
+ imagehash = py.typed
24
+
4
25
[flake8]
5
26
count = True
6
27
statistics = True
@@ -15,3 +36,4 @@ ignore=
15
36
per-file-ignores =
16
37
; False positive with multiline strings https://github.com/PyCQA/pycodestyle/issues/376
17
38
find_similar_images.py: E101
39
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments