[Python-modules-commits] r18745 - in packages/python-peak.rules/trunk (setup.py)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Wed Sep 28 01:46:09 UTC 2011
Date: Wednesday, September 28, 2011 @ 01:46:08
Author: eriol-guest
Revision: 18745
Removed no more needed setup.py
Deleted:
packages/python-peak.rules/trunk/setup.py
Deleted: packages/python-peak.rules/trunk/setup.py
===================================================================
--- packages/python-peak.rules/trunk/setup.py 2011-09-28 01:17:10 UTC (rev 18744)
+++ packages/python-peak.rules/trunk/setup.py 2011-09-28 01:46:08 UTC (rev 18745)
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-# Multiplexer for invoking multiple setup.py in subdir
-# Copyright (C) 2009 Stefano Zacchiroli <zack at debian.org>
-# License: GNU GPL version 3 or above
-
-# Created: Sat, 30 May 2009 14:47:04 +0200
-# Last-Modified: Sat, 30 May 2009 14:47:04 +0200
-
-import os, string, sys
-
-if not os.environ.has_key('SUBDIRS') or not os.environ['SUBDIRS']:
- print >> sys.stderr, "Can't find subdirs, please set SUBDIRS envvar"
- sys.exit(3)
-else:
- subdirs = os.environ['SUBDIRS'].split()
-setup_cmd = "python setup.py %s" % string.join(sys.argv[1:])
-
-topdir = os.getcwd()
-for d in subdirs:
- if not os.path.isdir(d):
- print >> sys.stderr, "WARNING: can't find subdir %s" % d
- continue
- os.chdir(d)
- retcode = os.system(setup_cmd)
- if retcode:
- print >> sys.stderr, "ERROR: setup.py in subdir %s failed" % d
- sys.exit(retcode >> 8)
- os.chdir(topdir)
More information about the Python-modules-commits
mailing list