Yanked
This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.5 instead.
Reason given by maintainers: Superseded by 0.1.2 which caps supported python version properly; please install image-comparator>=0.1.2.
image-comparator
Compare sets of images side by side with keyboard navigation.
Getting started
- Clone the repo and enter directory
git clone https://github.com/shashkat/image-comparator.git cd image-comparator
- Create new conda env
conda create -n ic python=3.12 conda activate ic
- Install using pip
pip install .
- run image-comparator
image-comparator
Integrating new changes
- Make the desired changes to the code.
- Test the changes locally by running
python app.pyin the appropriate env. - If satisfied, commit and push to github.
- Then, decide if you want the changes to be reflected in the standalone MacOS application too right now?
- If no, then nothing else needs to be done.
- If yes, then do the following:
- Reinstall image-comparator in development mode using pip in appropriate env (either existing one, previously used for this purpose, or a new one):
pip install -e . - install pyinstaller if not already installed:
pip install pyinstaller - Run pyinstaller to bundle the code into a .app file. This creates the distribution in a folder called
dist. Note that you might need to modify the dependencies if changes required new dependencies.pyinstaller \ --name ImageComparator \ --windowed \ --onedir \ --clean \ --noconfirm \ --collect-all matplotlib \ --collect-all PIL \ --collect-all reportlab \ --hidden-import=tkinter \ --hidden-import=matplotlib.backends.backend_tkagg \ src/image_comparator/app.py
- Now run the following
codesign --deep --force --options runtime --sign "Apple Development: apple_email (developer_team_id)" /path/to/image-comparator/dist/ImageComparator.app ditto -c -k --sequesterRsrc --keepParent /path/to/image-comparator/dist/ImageComparator.app /path/to/image-comparator/dist/ImageComparator.zip # this requires having a paid apple developer progam id. Without this, the end user will have to go to settings and allow MacOS to open the file # xcrun notarytool submit /path/to/image-comparator/dist/ImageComparator.zip --apple-id "apple_email" --team-id "developer_team_id" --wait # find password at appleid.apple.com
- Reinstall image-comparator in development mode using pip in appropriate env (either existing one, previously used for this purpose, or a new one):
Metadata
Release files for image-comparator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| image_comparator-0.1.0.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| image_comparator-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / image_comparator-0.1.0.tar.gz
| Download URL | image_comparator-0.1.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f19d50edc2797ad2d0cf5663320d242880b54ddcc5e2a48e8374406c5d03c543
|
|
BLAKE2b-256 checksum How to use checksums |
bbfd28e089cfcc28b238786ef563856de985524b1018dc23ba54c43270625667
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / image_comparator-0.1.0-py3-none-any.whl
| Download URL | image_comparator-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9951ce3ef467a389fe4f3f47b315f1aecd4718ddda3452cab8a7e32dd4287325
|
|
BLAKE2b-256 checksum How to use checksums |
0f8544fc49eb5d60458572a2a1122e10db15e3371250c293aceed6dc256fe338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|