Officially support Python 3 in Conda build.

Summary: Closes https://github.com/caffe2/caffe2/pull/1188

Reviewed By: Yangqing

Differential Revision: D5898795

Pulled By: ezyang

fbshipit-source-id: 9d17c3239d8c76f6e0858a877242b6d2e11a4f18
This commit is contained in:
Edward Yang
2017-09-23 16:06:20 -07:00
committed by Facebook Github Bot
parent cf769a7b6f
commit 7c45ac8e43
4 changed files with 17 additions and 13 deletions

View File

@ -20,12 +20,6 @@ import os
import sys
import platform
version = platform.python_version()
if version[:3] != '2.7':
print('ERROR: Python {version} is not officially supported yet.'
.format(version=version), file=sys.stderr)
exit(1)
# Flags to print to stdout
flags = ''
inc = sysconfig.get_python_inc()