<p dir="ltr">Hi Andreas,</p>
<p dir="ltr">Here is an alternative solution: in version 1.2.2 you can override the default cache directory with -g:</p>
<p dir="ltr"> $ python csb/test/app.py --generated-resources /tmp</p>
<p dir="ltr">What do you think? Version 1.2.2 can be downloaded from PyPI or CodePlex</p>
<p dir="ltr">Best regards,<br>
Ivan</p>
<div class="gmail_quote">On Dec 25, 2013 10:02 AM, "Andreas Tille" <<a href="mailto:andreas@an3as.eu">andreas@an3as.eu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Ivan,<br>
<br>
On Wed, Dec 25, 2013 at 08:56:02AM +0000, Ivan Kalev wrote:<br>
> The problem with /var/lib or cache is that it won't work on windows. The<br>
> advantage of ~ is that python resolves it to user's home directory on any<br>
> platform. Transparent portability is somehow essential in csb.<br>
<br>
OK, sorry for my *NIX centric view. :-)<br>
<br>
> But there are other options as well:<br>
><br>
> 1) Use a temp directory and setup/teardown the text fixture every time.<br>
><br>
> 2) Skip some tests at runtime if the resources they depend on are missing.<br>
> These tests are important during development, but not at all essential<br>
> during installation. So it is perfectly okay to skip them.<br>
><br>
> Both solutions are very easy to implement.<br>
<br>
IMHO both solutions sound reasonable for our purpose. I trust you to<br>
pick the better one from your position.<br>
<br>
Kind regards<br>
<br>
Andreas.<br>
<br>
--<br>
<a href="http://fam-tille.de" target="_blank">http://fam-tille.de</a><br>
</blockquote></div>