This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, ceder, eric.araujo, fdrake, higery, mhammond, tarek, tim.golden, vinay.sajip
Date 2011-07-23.09:45:30
SpamBayes Score 1.806224e-05
Marked as misclassified No
Message-id <1311414331.45.0.371042586354.issue12394@psf.upfronthosting.co.za>
In-reply-to
Content
I confirm fixing 0o755 makes the tests pass for me.

Your code gives one warning:
build_scripts.py:241: BytesWarning: str() on a bytes instance
  hdr = "#!%(executable)s%(options)s\n" % locals()

The object with the name executable or options is bytes, which you should explicitly convert to a string with decode.  I also don’t like using locals(), but that’s a personal style thing.

Your test should catch stdout (see other packaging tests for how to do that), so that people or buildbots running the tests don’t see “Hello world!”, and so that you can run asserts for the output.
History
Date User Action Args
2011-07-23 09:45:31eric.araujosetrecipients: + eric.araujo, mhammond, fdrake, vinay.sajip, ceder, tim.golden, tarek, alexis, higery
2011-07-23 09:45:31eric.araujosetmessageid: <1311414331.45.0.371042586354.issue12394@psf.upfronthosting.co.za>
2011-07-23 09:45:30eric.araujolinkissue12394 messages
2011-07-23 09:45:30eric.araujocreate