mirror of
https://github.com/sprockets/sprockets.mixins.avro.git
synced 2024-11-14 19:29:29 +00:00
Drop python 3.x support.
The avro python 3.x package isn't completely compatible with the 2.x package. In particular, it is missing avro.schema.parse().
This commit is contained in:
parent
9546aa1078
commit
c34091906d
2 changed files with 3 additions and 17 deletions
|
@ -1 +1 @@
|
|||
# avro is handled in setup.py
|
||||
avro>=1.7,<2
|
||||
|
|
18
setup.py
18
setup.py
|
@ -26,14 +26,6 @@ install_requires = read_requirements_file('requirements.txt')
|
|||
setup_requires = read_requirements_file('setup-requirements.txt')
|
||||
tests_require = read_requirements_file('test-requirements.txt')
|
||||
|
||||
if sys.version_info < (2, 7):
|
||||
tests_require.append('unittest2')
|
||||
if sys.version_info < (3, 0):
|
||||
install_requires.append('avro')
|
||||
tests_require.append('mock')
|
||||
else:
|
||||
install_requires.append('avro-python3')
|
||||
|
||||
setuptools.setup(
|
||||
name='sprockets.mixins.avro',
|
||||
version=sprockets.mixins.avro.__version__,
|
||||
|
@ -52,21 +44,15 @@ setuptools.setup(
|
|||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.2',
|
||||
'Programming Language :: Python :: 3.3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
'Programming Language :: Python :: Implementation :: PyPy',
|
||||
'Topic :: Software Development :: Libraries',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules'
|
||||
],
|
||||
packages=['sprockets',
|
||||
'sprockets.mixins'],
|
||||
packages=['sprockets', 'sprockets.mixins'],
|
||||
package_data={'': ['LICENSE', 'README.md']},
|
||||
include_package_data=True,
|
||||
namespace_packages=['sprockets',
|
||||
'sprockets.mixins'],
|
||||
namespace_packages=['sprockets', 'sprockets.mixins'],
|
||||
install_requires=install_requires,
|
||||
setup_requires=setup_requires,
|
||||
tests_require=tests_require,
|
||||
|
|
Loading…
Reference in a new issue