[Distutils] Buildout - Pass parameter to interpreter

1 view
Skip to first unread message

Craig Younkins

unread,
Mar 24, 2012, 11:26:15 PM3/24/12
to distut...@python.org
I want to run my code with the -3 flag of the 2.6 interpreter. The proxy script that buildout's zc.recipe.egg:scripts generates does not accept arbitrary interpreter arguments. How can I pass the -3 flag to the proxy script or otherwise run with the -3 flag? Thanks!

Craig Younkins

Jim Fulton

unread,
Mar 25, 2012, 10:28:24 AM3/25/12
to Craig Younkins, distut...@python.org

zc.recipe.egg doesn't let you control Python arguments in generated
scripts. I wish it did. You could derive a recipe that did. (The easiest
way to do this would probably be to let the low-level buildout api
generate the script and then edit the script with the derived recipe.)
I wonder if someone has already done this.

Jim

--
Jim Fulton
http://www.linkedin.com/in/jimfulton
_______________________________________________
Distutils-SIG maillist - Distut...@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply all
Reply to author
Forward
0 new messages