Permalink
Browse files

Changes to oil --version.

- Bump the version number to prepare for the next release
- Report OVM vs CPython.  Patch our fork to identify as 'OVM'.
- Report CPython version and the compiler (e.g. GCC)

Also update .gitignore.
  • Loading branch information...
Andy Chu
Andy Chu committed Oct 30, 2017
1 parent ab88ce7 commit 547056eec17f95976e2a4a52279a4e70346b8c8e
Showing with 9 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +3 −1 Python-2.7.13/Lib/platform.py
  3. +3 −0 bin/oil.py
  4. +1 −1 oil-version.txt
View
@@ -1,5 +1,7 @@
*.swp
*.pyc
.vagrant
_chroot
_tmp
_bin
_build
@@ -1457,7 +1457,9 @@ def python_implementation():
'PyPy' (Python implementation of Python).
"""
return _sys_version()[0]
# PATCH to identify OVM
return 'OVM'
#return _sys_version()[0]
def python_version():
View
@@ -171,6 +171,9 @@ def _ShowVersion():
print('Arch: %s' % platform.machine())
print('OS: %s' % platform.system())
print('Platform: %s' % platform.version())
print('Compiler: %s' % platform.python_compiler())
print('Interpreter: %s' % platform.python_implementation())
print('Interpreter version: %s' % platform.python_version())
def OshMain(argv, login_shell):
View
@@ -1,4 +1,4 @@
0.1.0
0.2.alpha1
# The first line of this file is the Oil version, and the rest is ignored.
# It's used at build time for the release tarball, and at runtime for oil

0 comments on commit 547056e

Please sign in to comment.