Skip to content

Commit 779b5bc

Browse files
committed
Merge pull request #239 from sbc100/copyright
Add copyright information to .py files
2 parents 9cb88d2 + 6386061 commit 779b5bc

14 files changed

+76
-4
lines changed

Diff for: devtools/__init__.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
# module
1+
# Copyright 2010 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
6+
# module

Diff for: devtools/antglob.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env python
22
# encoding: utf-8
3-
# Baptiste Lepilleur, 2009
3+
# Copyright 2009 Baptiste Lepilleur
4+
# Distributed under MIT license, or public domain if desired and
5+
# recognized in your jurisdiction.
6+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
47

58
from __future__ import print_function
69
from dircache import listdir

Diff for: devtools/fixeol.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2010 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
from __future__ import print_function
27
import os.path
38

Diff for: devtools/tarball.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2010 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
from contextlib import closing
27
import os
38
import tarfile

Diff for: makerelease.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2010 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
"""Tag the sandbox for release, make source and doc tarballs.
27
38
Requires Python 2.6
@@ -14,6 +19,7 @@
1419
Note: This was for Subversion. Now that we are in GitHub, we do not
1520
need to build versioned tarballs anymore, so makerelease.py is defunct.
1621
"""
22+
1723
from __future__ import print_function
1824
import os.path
1925
import subprocess

Diff for: scons-tools/globtool.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2009 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
import fnmatch
27
import os
38

Diff for: scons-tools/srcdist.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
import os
27
import os.path
38
from fnmatch import fnmatch

Diff for: scons-tools/substinfile.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2010 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
import re
27
from SCons.Script import * # the usual scons stuff you get in a SConscript
38
import collections

Diff for: scons-tools/targz.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
"""tarball
27
38
Tool-specific initialization for tarball.

Diff for: test/cleantests.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# removes all files created during testing
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
6+
"""Removes all files created during testing."""
7+
28
import glob
39
import os
410

Diff for: test/generate_expected.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
from __future__ import print_function
27
import glob
38
import os.path

Diff for: test/pyjsontestrunner.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Simple implementation of a json test runner to run the test against json-py.
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
6+
"""Simple implementation of a json test runner to run the test against
7+
json-py."""
8+
29
from __future__ import print_function
310
import sys
411
import os.path

Diff for: test/runjsontests.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2007 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
from __future__ import print_function
27
from __future__ import unicode_literals
38
from io import open

Diff for: test/rununittests.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2009 Baptiste Lepilleur
2+
# Distributed under MIT license, or public domain if desired and
3+
# recognized in your jurisdiction.
4+
# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5+
16
from __future__ import print_function
27
from __future__ import unicode_literals
38
from io import open

0 commit comments

Comments
 (0)