Skip to content

Commit

Permalink
Change error in setup to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hassony2 authored Jul 19, 2019
1 parent aeed5bd commit 756c654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import find_packages, setup
import warnings

DEPENDENCY_PACKAGE_NAMES = ["matplotlib", "torch", "tqdm", "numpy", "cv2",
"chumpy"]
Expand All @@ -13,7 +14,7 @@ def check_dependencies():
missing_dependencies.append(package_name)

if missing_dependencies:
raise ValueError(
warnings.warn(
'Missing dependencies: {}. We recommend you follow '
'the installation instructions at '
'https://github.com/hassony2/manopth#installation'.format(
Expand Down

0 comments on commit 756c654

Please sign in to comment.