Skip to content

Commit

Permalink
Release v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglongMa committed Jan 30, 2024
1 parent cbf5ada commit 70a34dd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 24 deletions.
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,21 @@ Instead of typing commands in the terminal, you can use the config GUI of `stone

Steps:

1. Open the terminal that can run `stone` (e.g., `Powershell` in Windows or `Terminal` in macOS).
1. Open the terminal that can run `stone` (e.g., `PowerShell` in Windows or `Terminal` in macOS).
2. Type `stone` (without any parameters) or `stone --gui` and press <kbd>Enter</kbd> to open the GUI.
3. Specify the parameters in each tab.
4. Click the `Start` button to start processing the images.

Hopefully, this can make it easier for you to use `stone` 🍻!

> [!IMPORTANT]
>
> The GUI version of `stone` is still in the **beta** stage.
>
> It supports Python **3.9** only.
>
> I will try to rebuild the wheels for other Python versions in the future.
>
> If you prefer to use Python **3.10.x** or above, please install v1.1.2,
> which has the same features except for the GUI.
> [!TIP]
>
> It is recommended to install v1.2.1, which supports Python 3.9+.
>
> If you have installed v1.2.0, please upgrade to v1.2.1 by running
>
> `pip install skin-tone-classifier --upgrade`
>
> `pip install skin-tone-classifier==1.1.2`
>
### Use `stone` in command line interface (CLI)

Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ setuptools>=65.6.3
colorama>=0.4.6
packaging>=23.1
requests>=2.31.0
gooey==1.0.8.1
wxPython==4.1.1
colored==1.3.93
gooey @ git+https://github.com/ChenglongMa/Gooey/tarball/mine#egg=Gooey-1.2.0-ALPHA
12 changes: 5 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
entry_points={
"console_scripts": ["stone = stone.__main__:main"],
},
python_requires=">=3.9, <3.10",
python_requires=">=3.9",
install_requires=[
"opencv-python>=4.9.0.80",
"numpy>=1.21.5",
Expand All @@ -39,15 +39,13 @@
"colorama>=0.4.6",
"packaging>=23.1",
"requests>=2.31.0",
"gooey==1.0.8.1",
"wxPython==4.1.1",
"colored==1.3.93"
"gooey @ https://github.com/ChenglongMa/Gooey/tarball/mine#egg=Gooey-1.2.0-ALPHA"
],
classifiers=[
"Programming Language :: Python :: 3.9",
# "Programming Language :: Python :: 3.10",
# "Programming Language :: Python :: 3.11",
# "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Image Recognition",
Expand Down
1 change: 1 addition & 0 deletions src/stone/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def write_to_csv(row: list):
from importlib.resources import files

main = Gooey(
show_preview_warning=False,
advanced=True, # fixme: `False` is not working
dump_build_config=False, # fixme: `True` is not working, as the path cannot be resolved correctly
target="stone",
Expand Down
2 changes: 1 addition & 1 deletion src/stone/package.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.2.0"
__version__ = "1.2.1"
__package_name__ = "skin-tone-classifier"
__app_name__ = "Skin Tone Classifier"
__description__ = "An easy-to-use library for skin tone classification"
Expand Down

0 comments on commit 70a34dd

Please sign in to comment.