Hi, I had the same problem and used your extend-diff-ignore suggestion to try and fix this bug.
I passed the fix to the maintainer via the github pull request at: https://github.com/astraw/stdeb/pull/57 I tried my patch against the upstream maintainers version on git hub, and I ended up with the source tree being unpacked in the source tree-. (e.g. nose2-0.4.4/nose2-0.4.4/) I applied my patch to the Ubuntu version: 0.6.0+20100620-2build1 and py2dsc worked correctly (at least for nose2-0.4.4) I think attaching patches to bug email works for debian bugs, for the successful build I added the patch as debian/patches/ignore-egg-info. Diane
Index: stdeb-0.6.0+20100620/stdeb/util.py =================================================================== --- stdeb-0.6.0+20100620.orig/stdeb/util.py 2012-11-26 17:08:12.159955192 -0800 +++ stdeb-0.6.0+20100620/stdeb/util.py 2012-11-26 17:09:28.255956332 -0800 @@ -1129,6 +1129,10 @@ fd.write('3.0 (quilt)\n') fd.close() + fd = open( os.path.join(debian_dir, 'source', 'options'), mode='w') + fd.write('extend-diff-ignore="\.egg-info"\n') + fd.close() + if debian_dir_only: return
pgpPdsOb1qtsL.pgp
Description: PGP signature