From d30223ecb7958004e61dea4bd3eeaf6d4d5025b9 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Mon, 28 Sep 2015 11:33:11 -0400 Subject: [PATCH] Replace py_module usage with packages. --- setup.py | 4 ++-- .../mixins/{avro_publisher.py => avro_publisher/__init__.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename sprockets/mixins/{avro_publisher.py => avro_publisher/__init__.py} (100%) diff --git a/setup.py b/setup.py index 1314a51..99d0020 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open(requires) as handle: setuptools.setup( name='sprockets.mixins.avro-publisher', - version='0.1.0', + version='0.1.1', description='Mixin for publishing events to RabbitMQ as avro datums', long_description=open('README.rst').read(), url='https://github.com/sprockets/sprockets.mixins.avro-publisher', @@ -30,7 +30,7 @@ setuptools.setup( 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' ], - py_modules=['sprockets.mixins.avro_publisher'], + packages=setuptools.find_packages(), namespace_packages=['sprockets', 'sprockets.mixins'], install_requires=requirements, zip_safe=True) diff --git a/sprockets/mixins/avro_publisher.py b/sprockets/mixins/avro_publisher/__init__.py similarity index 100% rename from sprockets/mixins/avro_publisher.py rename to sprockets/mixins/avro_publisher/__init__.py