www-jrtorres042-github-enterprise-org
/
git_microsoft-powershell_achived-management_android-individual_blog-shield_tensor-flowonspark_diff-1
Public template
forked from yahoo/TensorFlowOnSpark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
26 lines (21 loc) · 805 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
# Copyright 2017, Verizon Inc.
# Licensed under the terms of the apache license. See the LICENSE file in the project root for terms
"""
Package setup file for python module 'tensorflowonspark'
"""
import setuptools
import sys
def setuptools_version_supported():
major, minor, patch = setuptools.__version__.split('.')
if int(major) > 38:
return True
return False
if __name__ == '__main__':
# Check for a working version of setuptools here because earlier versions did not
# support python_requires.
if not setuptools_version_supported():
print('Setuptools version 38.0.0 or higher is needed to install this package')
sys.exit(1)
# We're being run from the command line so call setup with our arguments
setuptools.setup()