New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for .pyo extension when creating site.py. #759

Merged
merged 1 commit into from Sep 19, 2015

Conversation

Projects
None yet
2 participants
@hashstat

hashstat commented May 21, 2015

virtualenv fails when creating the environment's site.py 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 added a commit that referenced this pull request Sep 19, 2015

Merge pull request #759 from hashstat/develop
Add check for .pyo extension when creating site.py.

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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

Ivoz added a commit that referenced this pull request Sep 19, 2015

willingc added a commit to willingc/virtualenv that referenced this pull request Oct 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment