diff --git a/requirements.txt b/requirements.txt index 2431282b6d4a..dcfc535dc40b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,6 @@ +future +numpy pyyaml +setuptools +six typing diff --git a/setup.py b/setup.py index cb4b3fc747c5..2d36ecaef2db 100644 --- a/setup.py +++ b/setup.py @@ -1063,15 +1063,6 @@ cmdclass = { } cmdclass.update(build_dep_cmds) -install_requires = [ - 'protobuf', - 'pyyaml', - 'numpy', - 'future', - 'setuptools', - 'six', -] if FULL_CAFFE2 else [] - entry_points = {} if FULL_CAFFE2: entry_points = { @@ -1124,5 +1115,4 @@ if __name__ == '__main__': 'lib/include/torch/torch.h', ] }, - install_requires=install_requires, )