summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Waldon <bcwaldon@gmail.com>2013-01-31 07:16:37 -0800
committerBrian Waldon <bcwaldon@gmail.com>2013-01-31 07:16:37 -0800
commitc4d87ac700d3849bcb8140cbf8a2e9475a50c449 (patch)
tree0b200b105834b11630f7b547b68ea5d02b6b8016
parent286c8dbcc363edefadb1e7591fe60d9edc9e9f5e (diff)
downloadwarlock-c4d87ac700d3849bcb8140cbf8a2e9475a50c449.tar.gz
Add license headers to source files
-rw-r--r--LICENSE.txt (renamed from LICENSE)26
-rw-r--r--setup.py14
-rw-r--r--test/test_core.py14
-rw-r--r--warlock/__init__.py14
-rw-r--r--warlock/core.py14
-rw-r--r--warlock/exceptions.py14
-rw-r--r--warlock/model.py14
7 files changed, 110 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE.txt
index 68c771a..d645695 100644
--- a/LICENSE
+++ b/LICENSE.txt
@@ -174,3 +174,29 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ 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/setup.py b/setup.py
index c5e5654..b833b33 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
import setuptools
diff --git a/test/test_core.py b/test/test_core.py
index 5226794..d146b4f 100644
--- a/test/test_core.py
+++ b/test/test_core.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
import copy
import unittest
diff --git a/warlock/__init__.py b/warlock/__init__.py
index 0d8560e..b7c8627 100644
--- a/warlock/__init__.py
+++ b/warlock/__init__.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
"""Public-facing Warlock API"""
# pylint: disable=W0611
diff --git a/warlock/core.py b/warlock/core.py
index 44771e2..349c681 100644
--- a/warlock/core.py
+++ b/warlock/core.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
"""Core Warlock functionality"""
import copy
diff --git a/warlock/exceptions.py b/warlock/exceptions.py
index 01d72da..e735999 100644
--- a/warlock/exceptions.py
+++ b/warlock/exceptions.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
""" List of errors used in warlock """
diff --git a/warlock/model.py b/warlock/model.py
index 15228f7..aad5b37 100644
--- a/warlock/model.py
+++ b/warlock/model.py
@@ -1,3 +1,17 @@
+# Copyright 2012 Brian Waldon
+#
+# 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.
+
"""Self-validating model for arbitrary objects"""
import copy