Dont require an import to get version

This commit is contained in:
Gavin M. Roy 2020-03-18 11:47:04 -04:00
parent 0bba76147a
commit 95b904db07

View file

@ -3,8 +3,6 @@ import os.path
import setuptools import setuptools
from sprockets.mixins.avro_publisher import __version__
def read_requirements(name): def read_requirements(name):
requirements = [] requirements = []
@ -25,7 +23,7 @@ def read_requirements(name):
setuptools.setup( setuptools.setup(
name='sprockets.mixins.avro-publisher', name='sprockets.mixins.avro-publisher',
version=__version__, version='3.0.0',
description='Mixin for publishing events to RabbitMQ as avro datums', description='Mixin for publishing events to RabbitMQ as avro datums',
long_description=open('README.rst').read(), long_description=open('README.rst').read(),
url='https://github.com/sprockets/sprockets.mixins.avro-publisher', url='https://github.com/sprockets/sprockets.mixins.avro-publisher',