clp2 at rebertia.com
Thu Feb 17 11:32:28 CET 2011
On Thu, Feb 17, 2011 at 2:11 AM, andrea crotti
<andrea.crotti.0 at gmail.com> wrote:
> What would be an almost automated way to develop for both python 2.x and
> Then after that how do I test the various versions with the various python
> versions in a portable way?
> I could just have a bash script that calls
> python2 empathy.py
> python3 empathy3.py
> but it's probably not very portable..
Actually, so long as you specify a bit more specific versions, e.g.:
it should be fine on most *nixes. Windows would of course require a
separate, but analogous, batch file or similar. As for porting the
tests themselves, yes, that could be an issue.
More information about the Python-list