[Debian-med-packaging] Bug#592417: Bug #592417: mgltools-utpackages: ships files in /build
Tim Retout
diocles at debian.org
Tue Oct 19 19:57:58 UTC 2010
tag 592417 patch
thanks
Hi Steffen,
I think it's the odd manipulation in setup.py which is causing these
files in /build. This patch puts the files back in the right places:
--- mgltools-utpackages-1.5.4.cvs.20100912.orig/setup.py
+++ mgltools-utpackages-1.5.4.cvs.20100912/setup.py
@@ -101,24 +101,7 @@
class modified_install(install):
def run(self):
- self.install_lib = self.install_platlib
- install_platlib = path.abspath(self.install_platlib)
- install_purelib = install_platlib
- print "install_platlib=", install_platlib
- print "install_purelib=", install_purelib
args = sys.argv
- bdist = 0
- for i, arg in enumerate(args[1:]):
- if string.find(arg, "--install-platlib") != -1:
- platlib_fl = 1
- args[i+1] = "--install-platlib="+install_platlib
- elif string.find(arg, "--install-purelib") != -1:
- purelib_fl = 1
- args[i+1] = "--install-purelib="+install_purelib
- elif string.find(arg, "bdist") != -1:
- bdist = 1
- args[i+1] = "install"
- args.append("--install-platlib="+install_platlib)
cmd = "%s"%sys.executable
for e in args:
cmd = cmd + " " + e
Would you be able to test that the package behaves as before?
Regards,
--
Tim Retout <diocles at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20101019/91dc2d7d/attachment.pgp>
More information about the Debian-med-packaging
mailing list