#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import pygogo
import pkutils

from os import path as p

try:
    from setuptools import setup, find_packages
except ImportError:
    from distutils.core import setup, find_packages

sys.dont_write_bytecode = True
requirements = list(pkutils.parse_requirements('requirements.txt'))
dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt'))
readme = pkutils.read('README.rst')
changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '')
license = pygogo.__license__
version = pygogo.__version__
title = pygogo.__title__
gh = 'https://github.com/reubano'

setup(
    name=title,
    version=version,
    description=pygogo.__description__,
    long_description=readme + '\n\n' + changes,
    author=pygogo.__author__,
    author_email=pygogo.__email__,
    url='%s/%s' % (gh, title),
    download_url='%s/%s/downloads/%s*.tgz' % (gh, title, title),
    packages=find_packages(exclude=['docs', 'tests']),
    include_package_data=True,
    install_requires=requirements,
    tests_require=dev_requirements,
    test_suite='nose.collector',
    license=license,
    zip_safe=False,
    keywords=[title],
    package_data={},
    classifiers=[
        pkutils.LICENSES[license],
        'Development Status :: 3 - Alpha',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Operating System :: POSIX',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
    ],
    platforms=['MacOS X', 'Windows', 'Linux'],
    scripts=[p.join('bin', 'gogo')],
)

@@ -595,16 +595,54 @@
 title__%0A
+description = pkutils.__description__%0A
 gh = 'ht
@@ -728,25 +728,16 @@
 ription=
-pygogo.__
 descript
@@ -739,18 +739,16 @@
 cription
-__
 ,%0A    lo
@@ -1201,16 +1201,41 @@
 =%5Btitle%5D
+ + description.split(' ')
 ,%0A    pa

Update setup