Skip to content

Commit c4e2e31

Browse files
authored
Merge pull request #17 from haverland/typofix
fix typo duplicates fix upload to pypi newer python version used
2 parents 6782c7e + 1a80fdf commit c4e2e31

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ name: Upload Python Package
1010

1111
on:
1212
push:
13-
# release:
14-
# types: [created]
13+
release:
14+
types: [created]
1515

1616
permissions:
1717
contents: read
@@ -24,17 +24,17 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v3
2626
- name: Set up Python
27-
uses: actions/setup-python@v3
27+
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.x'
29+
python-version: '3.10'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip
3333
pip install build
3434
- name: Build package
3535
run: python -m build
3636
- name: Publish package
37-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
uses: pypa/gh-action-pypi-publish@release/v1
3838
with:
3939
user: __token__
4040
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v3
3838
- name: Setup Python
39-
uses: actions/setup-python@v3
39+
uses: actions/setup-python@v5
4040
with:
41-
python-version: '3.9.12'
41+
python-version: '3.10'
4242
- name: Install dependencies for ${{ matrix.os }}
4343
run: |
4444
python -m pip install --upgrade pip wheel setuptools

collectmeterdigits.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: collectmeterdigits
3-
Version: 1.0.0
3+
Version: 1.0.10
44
Summary: Reads images from digital meters.
55
Home-page: https://github.com/haverland/collectmeterdigits
66
Author: Frank Haverland

collectmeterdigits/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def main():
1616
parser.add_argument('--nodownload', action='store_true',
1717
help='Do not download pictures. Only remove duplicates and labeling.')
1818
parser.add_argument('--startlabel', type=float, default=0.0, help='only images >= startlabel. (default: all)')
19-
parser.add_argument('--savedublicates', action='store_true',
20-
help='Save the dublicates in an intermediate subdirectory in raw_images.')
19+
parser.add_argument('--saveduplicates', action='store_true',
20+
help='Save the duplicates in an intermediate subdirectory in raw_images.')
2121
parser.add_argument('--labelfile', default=None,
2222
help='file with list of image urls if you want label specific images.')
2323
parser.add_argument('--model', default=None, help='model file path if a external model should be used')

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ scipy
55
scikit-learn
66
imagehash
77
urllib3
8-
requests
8+
requests==2.31.0
99
pandas
1010
tflite-runtime; sys_platform == "linux"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setup(
2121
name='collectmeterdigits',
22-
version='1.0.8',
22+
version='1.0.10',
2323
url='https://github.com/haverland/collectmeterdigits',
2424
license='Apache 2.0',
2525
author='Frank Haverland',

0 commit comments

Comments
 (0)