source: ralphm-patches/version.patch

Last change on this file was 62:3e957d5a5064, checked in by Ralph Meijer <ralphm@…>, 10 years ago

Undo code move from wokkel.xmppim to wokkel.im.

This also adds a new patch for defining Wokkel's version in wokkel.version
and defers the JID cleanup.

File size: 1.7 KB
  • doc/conf.py

    # HG changeset patch
    # Parent 3cb91cfe0c3dabf07c85d788dcd3e9f5c27ceb4a
    diff --git a/doc/conf.py b/doc/conf.py
    a b  
    11# -*- coding: utf-8 -*-
    22#
    3 # Wokkel documentation build configuration file, created by
    4 # sphinx-quickstart on Mon May  7 11:15:38 2012.
     3# Wokkel documentation build configuration file.
    54#
    65# This file is execfile()d with the current directory set to its containing dir.
    76#
     
    1211# serve to show the default.
    1312
    1413# import sys, os
     14from wokkel import __version__
    1515
    1616# If extensions (or modules to document with autodoc) are in another directory,
    1717# add these directories to sys.path here. If the directory is relative to the
     
    4848# built documents.
    4949#
    5050# The short X.Y version.
    51 version = '0.7'
     51version = '.'.join(__version__.split('.')[0:2])
    5252# The full version, including alpha/beta/rc tags.
    53 release = '0.7.0'
     53release = __version__
    5454
    5555# The language for content autogenerated by Sphinx. Refer to documentation
    5656# for a list of supported languages.
  • setup.py

    diff --git a/setup.py b/setup.py
    a b  
    44# See LICENSE for details.
    55
    66from setuptools import setup
     7from wokkel import __version__
    78
    89# Make sure 'twisted' doesn't appear in top_level.txt
    910
     
    2829    egg_info.write_toplevel_names = _hacked_write_toplevel_names
    2930
    3031setup(name='wokkel',
    31       version='0.7.0',
     32      version=__version__,
    3233      description='Twisted Jabber support library',
    3334      author='Ralph Meijer',
    3435      author_email='ralphm@ik.nu',
  • wokkel/__init__.py

    diff --git a/wokkel/__init__.py b/wokkel/__init__.py
    a b  
    66
    77Support library for Twisted applications using XMPP protocols.
    88"""
     9
     10__version__ = '0.7.0'
Note: See TracBrowser for help on using the repository browser.