From 641c97e2a41d5cc25ecd9fa72674d814a260d544 Mon Sep 17 00:00:00 2001 From: Changbin Liu Date: Mon, 26 Aug 2013 12:53:48 -0400 Subject: [PATCH] Add license to *.py files Change-Id: I8efb89fc65ed3da7bfef8c2573bff784f2c21bcc --- inception/__init__.py | 18 ++++++++++++++++++ inception/orchestrator.py | 18 ++++++++++++++++++ inception/utils/__init__.py | 17 +++++++++++++++++ inception/utils/cmd.py | 18 ++++++++++++++++++ inception/utils/log.py | 18 ++++++++++++++++++ inception/utils/wrapper.py | 21 +++++++++++++++++++-- setup.py | 2 +- 7 files changed, 109 insertions(+), 3 deletions(-) diff --git a/inception/__init__.py b/inception/__init__.py index b8023d8..8b3ed75 100644 --- a/inception/__init__.py +++ b/inception/__init__.py @@ -1 +1,19 @@ +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. + __version__ = '0.0.1' diff --git a/inception/orchestrator.py b/inception/orchestrator.py index 925ee42..043dd8f 100644 --- a/inception/orchestrator.py +++ b/inception/orchestrator.py @@ -1,3 +1,21 @@ +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. + """ #TODO(changbl) Networks: diff --git a/inception/utils/__init__.py b/inception/utils/__init__.py index e69de29..8d29cd7 100644 --- a/inception/utils/__init__.py +++ b/inception/utils/__init__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. diff --git a/inception/utils/cmd.py b/inception/utils/cmd.py index dcc8258..4f7c691 100644 --- a/inception/utils/cmd.py +++ b/inception/utils/cmd.py @@ -1,3 +1,21 @@ +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. + """Command execution utils """ diff --git a/inception/utils/log.py b/inception/utils/log.py index 86aa967..e2b783b 100644 --- a/inception/utils/log.py +++ b/inception/utils/log.py @@ -1,3 +1,21 @@ +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. + """logging handler, it allows setting of formatting information through conf """ diff --git a/inception/utils/wrapper.py b/inception/utils/wrapper.py index 58ff32f..9a9d15c 100644 --- a/inception/utils/wrapper.py +++ b/inception/utils/wrapper.py @@ -1,5 +1,22 @@ -""" -Simple wrappers of various Python standard library modules +# -*- coding: utf-8 -*- + +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (C) 2013 AT&T Labs 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. + +"""Simple wrappers of various Python standard library modules """ import logging diff --git a/setup.py b/setup.py index 5994daf..79f3162 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2012 AT&T. All right reserved. +# Copyright (c) 2013 AT&T. All right reserved. try: from setuptools import setup