mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Remove protobuf require and use requirements.txt (#10771)
Summary: In prep for making FULL_CAFFE2 default, users shouldn't be required to have protobuf installed. cc pjh5 Pull Request resolved: https://github.com/pytorch/pytorch/pull/10771 Reviewed By: pjh5 Differential Revision: D9474458 Pulled By: orionr fbshipit-source-id: 3e28f5ce64d125a0a0418ce083f9ec73aec62492
This commit is contained in:
committed by
Facebook Github Bot
parent
474bd60bad
commit
8c13971f57
@ -1,2 +1,6 @@
|
|||||||
|
future
|
||||||
|
numpy
|
||||||
pyyaml
|
pyyaml
|
||||||
|
setuptools
|
||||||
|
six
|
||||||
typing
|
typing
|
||||||
|
10
setup.py
10
setup.py
@ -1063,15 +1063,6 @@ cmdclass = {
|
|||||||
}
|
}
|
||||||
cmdclass.update(build_dep_cmds)
|
cmdclass.update(build_dep_cmds)
|
||||||
|
|
||||||
install_requires = [
|
|
||||||
'protobuf',
|
|
||||||
'pyyaml',
|
|
||||||
'numpy',
|
|
||||||
'future',
|
|
||||||
'setuptools',
|
|
||||||
'six',
|
|
||||||
] if FULL_CAFFE2 else []
|
|
||||||
|
|
||||||
entry_points = {}
|
entry_points = {}
|
||||||
if FULL_CAFFE2:
|
if FULL_CAFFE2:
|
||||||
entry_points = {
|
entry_points = {
|
||||||
@ -1124,5 +1115,4 @@ if __name__ == '__main__':
|
|||||||
'lib/include/torch/torch.h',
|
'lib/include/torch/torch.h',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
install_requires=install_requires,
|
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user