#!/usr/bin/env python

import os
from setuptools import setup, find_packages

data_patterns = [
    'templates/**.html',
    'static/**.html',
    'static/**.jpg',
    'static/**.css',
    'static/**.js',
    'static/**.txt',
]

setup(name='relengapi-clobberer',
    version='0.1.1',
    description='The RelengAPI clobberer service.',
    author='Morgan Phillips',
    author_email='mphillips@mozilla.com',
    url='https://github.com/buildbot/build-relengapi-clobberer',
    entry_points={
        "relengapi_blueprints": [
            'mapper = relengapi.blueprints.clobberer:bp',
        ],
    },
    packages=find_packages(),
    namespace_packages=['relengapi', 'relengapi.blueprints'],
    data_files=[
        ('relengapi-' + dirpath, [os.path.join(dirpath, f) for f in files])
        for dirpath, _, files in os.walk('docs')
    ],
    package_data={  # NOTE: these files must *also* be specified in MANIFEST.in
        'relengapi.blueprints.clobberer': data_patterns,
    },
    install_requires=[
        'Flask',
        'relengapi>=0.3',
    ],
    license='MPL2',
    extras_require={
        'test': [
            'nose',
            'mock',
            'pep8',
            'pyflakes',
            'coverage',
        ]
    })

@@ -275,11 +275,11 @@
 ='0.
-1.1
+2.0
 ',%0A 

Bump version to 0.2.0