<br><br><div class="gmail_quote">2011/2/17 Chris Rebert <span dir="ltr"><<a href="mailto:clp2@rebertia.com">clp2@rebertia.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
</div>Actually, so long as you specify a bit more specific versions, e.g.:<br>
<br>
python2.7 empathy.py<br>
python3.1 empathy3.py<br>
<br>
it should be fine on most *nixes. Windows would of course require a<br>
separate, but analogous, batch file or similar. As for porting the<br>
tests themselves, yes, that could be an issue.<br>
<br>
Cheers,<br>
<font color="#888888">Chris<br>
</font></blockquote></div><br>Well ok the test script doesn't have to be portable at all costs, but I think it's something that could be solved with zc.buildout for example.<br><br>But what about the code itself.<br>
How do I import and execute the right version depending on the python version on the system?<br><br>This can instead probably be done in the setup.py right?<br>Or maybe I can directly check in the makefile and do some linking tricks..<br>