kritiksoman / GIMP-ML

AI for GNU Image Manipulation Program
https://kritiksoman.github.io/GIMP-ML-Docs/index.html
MIT License
1.39k stars 126 forks source link

make installGimpML.sh update environment if package is missing #30

Closed bdevoghel closed 3 years ago

bdevoghel commented 3 years ago

If installGimpML.sh ran and failed, the virtualenv gimpenv would still be created but with packages possibly still missing. If the script was run again, it would tell you the environment is already setup (which would not be the case).

This simple fix allows to check if the required packages are properly installed and installs them otherwise.

bdevoghel commented 3 years ago

Latest commit makes use of requirements.txt for stable pip install

bdevoghel commented 3 years ago

@kritiksoman I know you are waiting on GIMP 3.0 for major python updates, but this is already a step in the right direction ;)

kritiksoman commented 3 years ago

Sorry we were not accepting PR as GIMP was transitioning to python3 and python2 was already deprecated. If you are interested, please contribute to this branch which is meant for python 3.