From c3a80da98846c21a5d3f32a91669d78774a0aa6a Mon Sep 17 00:00:00 2001 From: Graham Wilson Date: Mon, 30 Aug 2004 01:34:48 +0000 Subject: Move a handful of scripts (used for releases, testing, etc.) to dist-tools, so that they are not released in the tarball. svn path=/trunk/; revision=3934 --- dist-tools/getstats.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 dist-tools/getstats.py (limited to 'dist-tools/getstats.py') diff --git a/dist-tools/getstats.py b/dist-tools/getstats.py new file mode 100755 index 00000000..f957c7d3 --- /dev/null +++ b/dist-tools/getstats.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python +# +# Collect statistics on current release. + +import commands, string, ftplib + +# Get version and date +date = commands.getoutput("date") +ln = commands.getoutput("co -p RCS/*.[chly],v 2>/dev/null | wc -l") +vers = commands.getoutput("sed -n -e '/VERSION/s/VERSION *= *\\(.*\\)/\\1/p'