Idea: be a mock package if platform is PyPy #6

Closed
nanonyme opened this Issue Apr 21, 2012 · 1 comment

Comments

Projects
None yet
1 participant

Various packages like eventlet have greenlet as a dependency but it so happens that PyPy has builtin greenlet support and the greenlet package doesn't even compile on it.
Hence I'm suggesting that greenlet's setup.py attempts to detect if running on PyPy and if so, leave the extensions uncompiled and just run as a mock package. This should allow all packages that depend on greenlet to run on PyPy unchanged. According to personal tests greenlet package doesn't show up on PyPy even if installed but it will continue to use the builtin greenlet support instead.

Requires more study. I'll keep on working to get all tests for applications to work like this first before raising this again.

@nanonyme nanonyme closed this Apr 21, 2012

schmir added a commit that referenced this issue Jun 11, 2012

make an empty dummy install when using pypy
pypy ships it's own version of the greenlet package and our own code
doesn't even compile there.

This should make packages that depend on greenlet work on pypy.

Fixes issue #6 and #15.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment