summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWouter van Oortmerssen <wvo@google.com>2016-05-23 09:51:41 -0700
committerWouter van Oortmerssen <wvo@google.com>2016-05-23 09:51:41 -0700
commit1a161a8333ec1fa382a06485b7ffad955c001151 (patch)
tree827d269923d4ae0e97e1e05eb73f31ca5f44450c /python
parent99c1ddc79253cba394541866570a27216cf28ee2 (diff)
downloadflatbuffers-1a161a8333ec1fa382a06485b7ffad955c001151.tar.gz
flatbuffers-1a161a8333ec1fa382a06485b7ffad955c001151.tar.bz2
flatbuffers-1a161a8333ec1fa382a06485b7ffad955c001151.zip
Added missing licenses to some sh/cs/py files.
Bug: https://github.com/google/flatbuffers/issues/3872 Change-Id: I5d551168e9bc925e867e5e4ddf5d809418fd44eb Tested: on Linux.
Diffstat (limited to 'python')
-rw-r--r--python/flatbuffers/compat.py14
-rw-r--r--python/flatbuffers/packer.py14
-rw-r--r--python/setup.py14
3 files changed, 42 insertions, 0 deletions
diff --git a/python/flatbuffers/compat.py b/python/flatbuffers/compat.py
index c592901c..e0315351 100644
--- a/python/flatbuffers/compat.py
+++ b/python/flatbuffers/compat.py
@@ -1,3 +1,17 @@
+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
""" A tiny version of `six` to help with backwards compability. """
import sys
diff --git a/python/flatbuffers/packer.py b/python/flatbuffers/packer.py
index c525f180..20ee9f11 100644
--- a/python/flatbuffers/packer.py
+++ b/python/flatbuffers/packer.py
@@ -1,3 +1,17 @@
+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
"""
Provide pre-compiled struct packers for encoding and decoding.
diff --git a/python/setup.py b/python/setup.py
index 822c9262..39afef34 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -1,3 +1,17 @@
+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
from setuptools import setup
setup(