Add check for .pyo extension when creating #759

merged 1 commit into from Sep 19, 2015


None yet

2 participants


virtualenv fails when creating the environment's for distributions with only optimized bytecode (only .pyo and no .pyc files). It ends up writing the .py file to site.pyo. This fix adds a check for .pyo extensions to resolve the issue.

@Ivoz Ivoz merged commit 68e39db into pypa:develop Sep 19, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@Ivoz Ivoz added a commit that referenced this pull request Sep 19, 2015
@Ivoz Ivoz Changelog for #759 23545ed
@willingc willingc added a commit to willingc/virtualenv that referenced this pull request Oct 10, 2015
@Ivoz @willingc Ivoz + willingc Changelog for #759 fc553ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment