On Thu, Jun 2, 2011 at 7:57 PM, Aaron S. Meurer <[email protected]> wrote:

> Do you know if there is a way to have a tox.ini file that is tracked by
> git, but to still locally set somehow the paths to various Python binaries
> (for example, I have two binaries for each version of Python, one 32-bit and
> one 64-bit)?
>
> Aaron Meurer
>

Well, the way this sort of thing usually works is that there would be a
tox.ini.sample file (or somesuch). The user will then copy it to tox.ini and
edit it according to paths/available environments/whatever; tox.ini itself
would be untracked by git. I was going to submit a pull request doing this,
but wanted to wait for some feedback first.

I also now realize that I didn't explain how to use both 32bit and 64bit
Python: you'd want to define a new test environment (like I did with docs on
the wiki) and specify the path to your python with basepython=... So,
something like this in your tox.ini ought to work:

[testenv:py25_32bit]
basepython=...
commands=python bin/test []


>
> On May 28, 2011, at 1:42 PM, Vlada Peric wrote:
>
> As you may or may not know, SymPy is looking for a replacement for buildbot
> (see the issue[0] on it and my blog post about continuous integration
> servers and such[1]). This is a part of my GSoC project and, as explained I
> believe using Tox in combination with Jenkins is the way forward. As Tox is
> a very powerful tool in it's own right, I think we should start using it
> locally too, to streamline tests. The way Tox works is explained in my blog
> post, and there are instruction on the wiki on how to set it up:
>
> https://github.com/sympy/sympy/wiki/Using-Tox
>
> Please try it and comment on any issues that might arise.
>
>
> [0] http://code.google.com/p/sympy/issues/detail?id=1117
>
> [1]
> http://vperic.blogspot.com/2011/05/continuous-integration-and-sympy.html
>
> --
> Vlada Perić
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>



-- 
Vladimir Perić

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to