Skip to content
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
44 changes: 22 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel

- name: Build
run: |
python setup.py sdist
python setup.py bdist_wheel
- name: Build
run: |
python setup.py sdist
python setup.py bdist_wheel

- name: Check
run: |
ls ./dist
- name: Check
run: |
ls ./dist

- name: Publish a Python distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Publish a Python distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
pip install --upgrade fastlabel
```

> Python version 3.7 or greater is required
> Python version 3.8 or greater is required

## Usage

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ requests==2.25.1
numpy>=1.21.2
geojson==2.5.0
xmltodict==0.12.0
Pillow>=9.0.1,<10.0.0
Pillow>=10.0.0,<11.0.0
opencv-python==4.7.0.72
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=install_requires,
python_requires=">=3.7",
python_requires=">=3.8",
include_package_data=True,
use_scm_version=True,
setup_requires=["setuptools_scm"],
Expand Down