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

###############################################################################
# The MIT License
#
# Copyright (c) 2016 Grigory Chernyshev
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
###############################################################################

from yagocd.client import Client

from pkg_resources import get_distribution, DistributionNotFound
import os.path

try:
    _dist = get_distribution('yagocd')
    # Normalize case for Windows systems
    dist_loc = os.path.normcase(_dist.location)
    here = os.path.normcase(__file__)
    if not here.startswith(os.path.join(dist_loc, 'yagocd')):
        # not installed, but there is another version that *is*
        raise DistributionNotFound
except DistributionNotFound:
    __version__ = 'Please install this project with setup.py'
else:
    __version__ = _dist.version

@@ -1417,546 +1417,26 @@
 nt%0A%0A
-from pkg_resources import get_distribution, DistributionNotFound%0Aimport os.path%0A%0Atry:%0A    _dist = get_distribution('yagocd')%0A    # Normalize case for Windows systems%0A    dist_loc = os.path.normcase(_dist.location)%0A    here = os.path.normcase(__file__)%0A    if not here.startswith(os.path.join(dist_loc, 'yagocd')):%0A        # not installed, but there is another version that *is*%0A        raise DistributionNotFound%0Aexcept DistributionNotFound:%0A    __version__ = 'Please install this project with setup.py'%0Aelse:%0A    __version__ = _dist.version
+__version__ = '0.1.0'
 %0A

Switch to bumpversion.