Commit b029a3b6 authored by Jason R. Coombs's avatar Jason R. Coombs

Merged in agronholm/setuptools (pull request #128)

Check for Jython using sys.platform, not os.name
parents 42c62a7a 2039b2ae
......@@ -10,7 +10,7 @@ import pickle
import pkg_resources
if os.name == "java":
if sys.platform.startswith('java'):
import org.python.modules.posix.PosixModule as _os
else:
_os = sys.modules[os.name]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment