Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo duplicates #17

Merged
merged 7 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ name: Upload Python Package

on:
push:
# release:
# types: [created]
release:
types: [created]

permissions:
contents: read
Expand All @@ -24,17 +24,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.9.12'
python-version: '3.10'
- name: Install dependencies for ${{ matrix.os }}
run: |
python -m pip install --upgrade pip wheel setuptools
Expand Down
2 changes: 1 addition & 1 deletion collectmeterdigits.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: collectmeterdigits
Version: 1.0.0
Version: 1.0.10
Summary: Reads images from digital meters.
Home-page: https://github.com/haverland/collectmeterdigits
Author: Frank Haverland
Expand Down
4 changes: 2 additions & 2 deletions collectmeterdigits/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def main():
parser.add_argument('--nodownload', action='store_true',
help='Do not download pictures. Only remove duplicates and labeling.')
parser.add_argument('--startlabel', type=float, default=0.0, help='only images >= startlabel. (default: all)')
parser.add_argument('--savedublicates', action='store_true',
help='Save the dublicates in an intermediate subdirectory in raw_images.')
parser.add_argument('--saveduplicates', action='store_true',
help='Save the duplicates in an intermediate subdirectory in raw_images.')
parser.add_argument('--labelfile', default=None,
help='file with list of image urls if you want label specific images.')
parser.add_argument('--model', default=None, help='model file path if a external model should be used')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ scipy
scikit-learn
imagehash
urllib3
requests
requests==2.31.0
pandas
tflite-runtime; sys_platform == "linux"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name='collectmeterdigits',
version='1.0.8',
version='1.0.10',
url='https://github.com/haverland/collectmeterdigits',
license='Apache 2.0',
author='Frank Haverland',
Expand Down
Loading