diff --git a/setup.py b/setup.py index 255b829..e7f6b86 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ # THE SOFTWARE. # -from setuptools import setup, find_packages +from setuptools import setup, find_namespace_packages with open('README.md') as f: readme = f.read() @@ -28,7 +28,7 @@ license = f.read() setup(name='python-slimta', - version='5.0.1', + version='5.0.2', author='Ian Good', author_email='ian@icgood.net', description='Lightweight, asynchronous SMTP libraries.', @@ -37,8 +37,7 @@ license='MIT', url='http://slimta.org/', include_package_data=True, - packages=find_packages(), - namespace_packages=['slimta'], + packages=find_namespace_packages(include=['slimta.*']), install_requires=['gevent >= 1.1rc', 'pysasl >= 0.5.0', 'pycares >= 1'], diff --git a/slimta/__init__.py b/slimta/__init__.py deleted file mode 100644 index 2edd7c8..0000000 --- a/slimta/__init__.py +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) 2014 Ian C. Good -# -# 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: -# -# 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. -# - - -__import__('pkg_resources').declare_namespace(__name__) - - -# vim:et:fdm=marker:sts=4:sw=4:ts=4