#!/usr/bin/env python2 from distutils.core import setup from zokket import get_version kwargs = { 'name': 'zokket', 'version': get_version(), 'license': 'BSD', 'description': 'zokket is a asynchronous socket networking library for python', 'author': 'Kyle Fuller', 'author_email': '*****@*****.**', 'packages': ['zokket'], 'download_url': 'http://github.com/kylef/zokket/zipball/{}'.format(get_version()), } setup(**kwargs)
# The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'zokket' copyright = u'2012, Kyle Fuller' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = zokket.get_version() # The full version, including alpha/beta/rc tags. release = zokket.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.
def tag(): local('git tag {}'.format(get_version()))
def push(): local('git push origin {}'.format(get_version()))