Skip to content
Snippets Groups Projects
Commit 184c3dc6 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Add file version.py to define QWeeChat version

parent 403f36d9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -46,9 +46,9 @@ from connection import ConnectionDialog
from buffer import BufferListWidget, Buffer
from debug import DebugDialog
from about import AboutDialog
from version import qweechat_version
 
NAME = 'QWeeChat'
VERSION = '0.0.1-dev'
AUTHOR = 'Sébastien Helleu'
AUTHOR_MAIL = 'flashcode@flashtux.org'
WEECHAT_SITE = 'http://weechat.org/'
Loading
Loading
@@ -240,7 +240,7 @@ class MainWindow(QTGUI.QMainWindow):
 
def open_about_dialog(self):
"""Open a dialog with info about QWeeChat."""
messages = ['<b>%s</b> %s' % (NAME, VERSION),
messages = ['<b>%s</b> %s' % (NAME, qweechat_version()),
'&copy; 2011-2014 %s &lt;<a href="mailto:%s">%s</a>&gt;'
% (AUTHOR, AUTHOR_MAIL, AUTHOR_MAIL),
'',
Loading
Loading
# -*- coding: utf-8 -*-
#
# version.py - version of QWeeChat
#
# Copyright (C) 2011-2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
# QWeeChat 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.
#
# QWeeChat 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 QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
VERSION = '0.0.1-dev'
def qweechat_version():
return VERSION
Loading
Loading
@@ -19,12 +19,13 @@
#
 
from setuptools import setup
from qweechat.version import qweechat_version
 
DESCRIPTION = 'Qt remote GUI for WeeChat'
 
setup(
name='qweechat',
version='0.0.1-dev',
version=qweechat_version(),
description=DESCRIPTION,
long_description=DESCRIPTION,
author='Sébastien Helleu',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment