diff --git a/environment.yml b/environment.yml index 7e20aa2..667ae3a 100644 --- a/environment.yml +++ b/environment.yml @@ -7,5 +7,6 @@ dependencies: - numpy - pytorch - tqdm + - git - pip: - git+https://github.com/hassony2/chumpy.git diff --git a/setup.py b/setup.py index dced4cc..fb3ebdf 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ from setuptools import find_packages, setup +import warnings DEPENDENCY_PACKAGE_NAMES = ["matplotlib", "torch", "tqdm", "numpy", "cv2", "chumpy"] @@ -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(