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 :/
This commit is contained in:
Dave Shawley 2015-10-02 07:27:13 -04:00
parent 523ec0bf9c
commit 50f5baa466
2 changed files with 2 additions and 2 deletions

View file

@ -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,