[openstack-dev] [all] PYTHONDONTWRITEBYTECODE=true in tox.ini

Julien Danjou julien at danjou.info
Fri Sep 12 15:55:22 UTC 2014


On Fri, Sep 12 2014, Sean Dague wrote:

> Which sets PYTHONDONTWRITEBYTECODE=true in the unit tests.
>
> This prevents pyc files from being writen in your git tree (win!). It
> doesn't seem to impact what pip installs... and if anyone knows how to
> prevent those pyc files from getting created, that would be great.
>
> But it's something which hopefully causes less perceived developer
> fragility of the system.

I understand it's generating .pyc could be something, but I don't really
like that patch.

I guess the problem is more likely that testrepository load the tests
From the source directory whereas maybe we could make it load them from
what's installed into the venv?

-- 
Julien Danjou
/* Free Software hacker
   http://julien.danjou.info */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140912/c1bf911f/attachment.pgp>


More information about the OpenStack-dev mailing list