From dcf641daac0f2fee74eafbb0de1d32f6c8c4c6fd Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Tue, 9 Oct 2018 22:57:45 -0700 Subject: Remove python shebang line from gen_git_source. PiperOrigin-RevId: 216479972 --- tensorflow/tools/git/BUILD | 6 ++++-- tensorflow/tools/git/gen_git_source.py | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tensorflow/tools') 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"); -- cgit v1.2.3