summaryrefslogtreecommitdiff
path: root/xnt/commands/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'xnt/commands/version.py')
-rw-r--r--xnt/commands/version.py34
1 files changed, 0 insertions, 34 deletions
diff --git a/xnt/commands/version.py b/xnt/commands/version.py
deleted file mode 100644
index 9c2e302..0000000
--- a/xnt/commands/version.py
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env python
-"""Version Xnt Command"""
-
-# Xnt -- A Wrapper Build Tool
-# Copyright (C) 2012 Kenny Ballou
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-from xnt.basecommand import Command
-from xnt.status_codes import SUCCESS
-
-class VersionCommand(Command):
- """Version Command"""
- name = 'version'
- usage = """"""
- summary = "Print Version of Xnt"
- needs_build = False
-
- def run(self, arguments=None):
- """Invoke Version"""
- from xnt import __version__
- print(__version__)
- return SUCCESS