From 50f5baa466c8414251ee021593076150d29e2b87 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Fri, 2 Oct 2015 07:27:13 -0400 Subject: [PATCH] Switch from py_module to sub-package. Distributing py_modules inside of a namespace package seems to violate a namespace packaging requirement. Back to distributing as a package of one file instead :/ --- setup.py | 4 ++-- sprockets/{logging.py => logging/__init__.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename sprockets/{logging.py => logging/__init__.py} (100%) diff --git a/setup.py b/setup.py index e6dbfcd..c10e8dd 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setuptools.setup( license='BSD', extras_require={'tornado': ['tornado>3,<5']}, classifiers=[ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', @@ -36,8 +36,8 @@ setuptools.setup( 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' ], + packages=setuptools.find_packages(), namespace_packages=['sprockets'], - py_modules=['sprockets.logging'], install_requires=install_requires, setup_requires=setup_requires, tests_require=tests_require, diff --git a/sprockets/logging.py b/sprockets/logging/__init__.py similarity index 100% rename from sprockets/logging.py rename to sprockets/logging/__init__.py