This commit is contained in:
adam j hartz 2015-03-24 21:15:35 -04:00
commit 393d00964a
4 changed files with 8 additions and 4 deletions

View file

@ -10,6 +10,7 @@
import sys, os
import cloud_sptheme as csp
from xonsh import __version__ as XONSH_VERSION
# -- General configuration -----------------------------------------------------
@ -42,10 +43,10 @@ copyright = u'2015, Anthony Scopatz'
# built documents.
#
# The short X.Y version.
version = '0.1'
version = XONSH_VERSION.rsplit('.',1)[0]
# The full version, including alpha/beta/rc tags.
release = '0.1.3'
release = XONSH_VERSION
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View file

@ -15,7 +15,7 @@ except ImportError:
from distutils.command.install import install as install
HAVE_SETUPTOOLS = False
VERSION = '0.1.3'
from xonsh import __version__ as XONSH_VERSION
TABLES = ['xonsh/lexer_table.py', 'xonsh/parser_table.py']
@ -59,7 +59,7 @@ def main():
description='an exotic, usable shell',
long_description=readme,
license='BSD',
version=VERSION,
version=XONSH_VERSION,
author='Anthony Scopatz',
maintainer='Anthony Scopatz',
author_email='scopatz@gmail.com',

View file

@ -0,0 +1 @@
__version__ = '0.1.3'

View file

@ -9,6 +9,7 @@ import platform
import subprocess
from warnings import warn
from xonsh import __version__ as XONSH_VERSION
from xonsh.tools import TERM_COLORS
def current_branch(cwd=None):
@ -117,6 +118,7 @@ def multiline_prompt():
BASE_ENV = {
'XONSH_VERSION': XONSH_VERSION,
'INDENT': ' ',
'PROMPT': default_prompt,
'TITLE': default_title,