Do not create pyo files during pupysh work

This commit is contained in:
Oleksii Shevchuk 2018-03-12 22:23:18 +02:00
parent a0403162df
commit 7a2116adb5
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ with open(pupysh_path, 'w') as pupysh:
wa = os.path.abspath(args.workdir)
print >>pupysh, '#!/bin/sh'
print >>pupysh, 'cd {}'.format(wa)
print >>pupysh, 'exec bin/python {} "$@"'.format(
print >>pupysh, 'exec bin/python -B {} "$@"'.format(
os.path.join(pupy, 'pupy', 'pupysh.py'))
os.chmod(pupysh_path, 0755)