Replace py_module usage with packages.

This commit is contained in:
Dave Shawley 2015-09-28 11:33:11 -04:00
parent a70fbd5023
commit d30223ecb7
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ with open(requires) as handle:
setuptools.setup( setuptools.setup(
name='sprockets.mixins.avro-publisher', name='sprockets.mixins.avro-publisher',
version='0.1.0', version='0.1.1',
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',
@ -30,7 +30,7 @@ setuptools.setup(
'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules' 'Topic :: Software Development :: Libraries :: Python Modules'
], ],
py_modules=['sprockets.mixins.avro_publisher'], packages=setuptools.find_packages(),
namespace_packages=['sprockets', 'sprockets.mixins'], namespace_packages=['sprockets', 'sprockets.mixins'],
install_requires=requirements, install_requires=requirements,
zip_safe=True) zip_safe=True)