File tree Expand file tree Collapse file tree 14 files changed +76
-4
lines changed
Expand file tree Collapse file tree 14 files changed +76
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
58from __future__ import print_function
69from dircache import listdir
Original file line number Diff line number Diff line change 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+
16from __future__ import print_function
27import os .path
38
Original file line number Diff line number Diff line change 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+
16from contextlib import closing
27import os
38import tarfile
Original file line number Diff line number Diff line change 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
38Requires Python 2.6
1419Note: This was for Subversion. Now that we are in GitHub, we do not
1520need to build versioned tarballs anymore, so makerelease.py is defunct.
1621"""
22+
1723from __future__ import print_function
1824import os .path
1925import subprocess
Original file line number Diff line number Diff line change 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+
16import fnmatch
27import os
38
Original file line number Diff line number Diff line change 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+
16import os
27import os .path
38from fnmatch import fnmatch
Original file line number Diff line number Diff line change 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+
16import re
27from SCons .Script import * # the usual scons stuff you get in a SConscript
38import collections
Original file line number Diff line number Diff line change 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
38Tool-specific initialization for tarball.
Original file line number Diff line number Diff line change 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+
28import glob
39import os
410
You can’t perform that action at this time.
0 commit comments