mirror of
https://github.com/sprockets/sprockets.mixins.json_error.git
synced 2024-12-28 19:29:18 +00:00
setup.py: Use find_packages to locate packages.
This commit is contained in:
parent
2b4ad0aa95
commit
c72f45f424
1 changed files with 6 additions and 7 deletions
13
setup.py
Normal file → Executable file
13
setup.py
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
import codecs
|
import codecs
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -32,7 +33,7 @@ setuptools.setup(
|
||||||
version='1.0.0',
|
version='1.0.0',
|
||||||
description='Handler mixin for writing JSON errors',
|
description='Handler mixin for writing JSON errors',
|
||||||
long_description=codecs.open('README.rst', encoding='utf-8').read(),
|
long_description=codecs.open('README.rst', encoding='utf-8').read(),
|
||||||
url='https://github.com/sprockets/sprockets.mixins.json_error.git',
|
url='https://github.com/sprockets/sprockets.mixins.json_error',
|
||||||
author='AWeber Communications',
|
author='AWeber Communications',
|
||||||
author_email='api@aweber.com',
|
author_email='api@aweber.com',
|
||||||
license=codecs.open('LICENSE', encoding='utf-8').read(),
|
license=codecs.open('LICENSE', encoding='utf-8').read(),
|
||||||
|
@ -54,15 +55,13 @@ setuptools.setup(
|
||||||
'Topic :: Software Development :: Libraries',
|
'Topic :: Software Development :: Libraries',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules'
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||||
],
|
],
|
||||||
packages=['sprockets',
|
packages=setuptools.find_packages(),
|
||||||
'sprockets.mixins',
|
|
||||||
'sprockets.mixins.json_error'],
|
|
||||||
package_data={'': ['LICENSE', 'README.md']},
|
package_data={'': ['LICENSE', 'README.md']},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
namespace_packages=['sprockets',
|
namespace_packages=['sprockets', 'sprockets.mixins'],
|
||||||
'sprockets.mixins'],
|
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
setup_requires=setup_requires,
|
setup_requires=setup_requires,
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
zip_safe=False)
|
zip_safe=True,
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue