Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
Remove the import of __version__
Browse files Browse the repository at this point in the history
This was causing an order of operations issue with sprockets.clients.statsd not being installed when running setuptools.setup()
  • Loading branch information
gmr committed Aug 29, 2014
1 parent 0d9bbb3 commit 6a42fb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

import setuptools

from sprockets.mixins.statsd import __version__


def read_requirements_file(req_name):
requirements = []
Expand All @@ -31,7 +29,7 @@ def read_requirements_file(req_name):

setuptools.setup(
name='sprockets.mixins.statsd',
version=__version__,
version='1.0.1',
description='Handler mixins for automated metric reporting',
long_description=codecs.open('README.rst', encoding='utf-8').read(),
url='https://github.com/sprockets/sprockets.mixins.statsd.git',
Expand Down
2 changes: 1 addition & 1 deletion sprockets/mixins/statsd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get(self, *args, **kwargs):

from sprockets.clients import statsd

version_info = (1, 0, 0)
version_info = (1, 0, 1)
__version__ = '.'.join(str(v) for v in version_info)

STATSD_PREFIX = os.getenv('STATSD_PREFIX', 'sprockets')
Expand Down

0 comments on commit 6a42fb5

Please sign in to comment.