mirror of
https://github.com/sprockets/sprockets.git
synced 2024-11-27 11:19:51 +00:00
Add namespaced_packages entry
This commit is contained in:
parent
08239ee6b7
commit
f41c6cb36a
1 changed files with 26 additions and 22 deletions
16
setup.py
16
setup.py
|
@ -2,15 +2,17 @@ from setuptools import setup
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
requirements = []
|
requirements = []
|
||||||
tests_require = ['coverage', 'coveralls', 'mock', 'nose']
|
tests_require = ['coverage', 'coveralls', 'nose']
|
||||||
|
|
||||||
# Requirements for Python 2.6
|
# Requirements for Python 2.6
|
||||||
version = sys.version_info
|
if sys.version_info < (2, 7):
|
||||||
if (version.major, version.minor) < (2, 7):
|
|
||||||
requirements.append('argparse')
|
requirements.append('argparse')
|
||||||
requirements.append('importlib')
|
requirements.append('importlib')
|
||||||
requirements.append('logutils')
|
requirements.append('logutils')
|
||||||
tests_require.append('unittest2')
|
tests_require.append('unittest2')
|
||||||
|
if sys.version_info < (3, 0):
|
||||||
|
tests_require.append('mock')
|
||||||
|
|
||||||
|
|
||||||
setup(name='sprockets',
|
setup(name='sprockets',
|
||||||
version='0.1.0',
|
version='0.1.0',
|
||||||
|
@ -22,11 +24,12 @@ setup(name='sprockets',
|
||||||
url='https://github.com/sprockets/sprockets',
|
url='https://github.com/sprockets/sprockets',
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
license=open('LICENSE').read(),
|
license=open('LICENSE').read(),
|
||||||
|
namespace_packages=['sprockets'],
|
||||||
package_data={'': ['LICENSE', 'README.rst']},
|
package_data={'': ['LICENSE', 'README.rst']},
|
||||||
packages=['sprockets'],
|
packages=['sprockets'],
|
||||||
classifiers=['Development Status :: 3 - Alpha',
|
classifiers=[
|
||||||
|
'Development Status :: 3 - Alpha',
|
||||||
'Environment :: No Input/Output (Daemon)',
|
'Environment :: No Input/Output (Daemon)',
|
||||||
'Framework :: Tornado',
|
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
'License :: OSI Approved :: BSD License',
|
'License :: OSI Approved :: BSD License',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
|
@ -42,7 +45,8 @@ setup(name='sprockets',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
'Topic :: Internet :: WWW/HTTP',
|
||||||
'Topic :: Software Development :: Libraries',
|
'Topic :: Software Development :: Libraries',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules'],
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||||
|
],
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
zip_safe=False)
|
zip_safe=False)
|
||||||
|
|
Loading…
Reference in a new issue