Skip to content

Commit

Permalink
remove opencv entirely from requirements. Thsi needs to be installed …
Browse files Browse the repository at this point in the history
…manually based on the conditions where you are working in.
  • Loading branch information
erdogant committed Jan 11, 2025
1 parent ff498e8 commit a09ec9c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ tqdm
clustimage>=1.6.6
ismember
datazets>=1.0.0
opencv-python-headless
#opencv-python-headless
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'clustimage>=1.6.6',
'ismember',
'datazets>=1.0.0',
'opencv-python-headless',
#'opencv-python-headless',
],
python_requires='>=3',
name='undouble',
Expand Down
2 changes: 1 addition & 1 deletion undouble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

__author__ = 'Erdogan Tasksen'
__email__ = 'erdogant@gmail.com'
__version__ = '1.4.3'
__version__ = '1.4.4'

# module level doc-string
__doc__ = """
Expand Down
4 changes: 2 additions & 2 deletions undouble/undouble.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import cv2
except ImportError:
raise ImportError(
"The 'opencv-python' library is not installed. Please install it using the following command:\n"
">pip install opencv-python or the lightweight version: >pip install opencv-python-headless")
"The 'opencv-python' library is not installed. Please install it manually using the following command:\n"
">pip install opencv-python or the lightweight version without GUI: >pip install opencv-python-headless")


logger = logging.getLogger('')
Expand Down

0 comments on commit a09ec9c

Please sign in to comment.