diff options
author | Gunhan Gulsoy <gunan@google.com> | 2018-10-09 22:57:45 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-09 23:02:32 -0700 |
commit | dcf641daac0f2fee74eafbb0de1d32f6c8c4c6fd (patch) | |
tree | 4bcaa551d91efa4148bcf06075489030700b3f03 /tensorflow/tools | |
parent | 91d625c6f0377bb629b2509bb4f5cb040d870244 (diff) |
Remove python shebang line from gen_git_source.
PiperOrigin-RevId: 216479972
Diffstat (limited to 'tensorflow/tools')
-rw-r--r-- | tensorflow/tools/git/BUILD | 6 | ||||
-rwxr-xr-x | tensorflow/tools/git/gen_git_source.py | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tensorflow/tools/git/BUILD b/tensorflow/tools/git/BUILD index daa17fbd50..34a5167948 100644 --- a/tensorflow/tools/git/BUILD +++ b/tensorflow/tools/git/BUILD @@ -6,6 +6,8 @@ package(default_visibility = ["//tensorflow:internal"]) licenses(["notice"]) # Apache 2.0 -exports_files( - ["gen_git_source.py"], +py_binary( + name = "gen_git_source", + srcs = ["gen_git_source.py"], + srcs_version = "PY2AND3", ) diff --git a/tensorflow/tools/git/gen_git_source.py b/tensorflow/tools/git/gen_git_source.py index cc2288a7fa..8e7cd9b104 100755 --- a/tensorflow/tools/git/gen_git_source.py +++ b/tensorflow/tools/git/gen_git_source.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); |