setup.py: Move emoji and aiohttp to extras_require

This commit is contained in:
mathieui 2020-12-12 16:30:34 +01:00
parent 6773dc4409
commit 31841ef3bf

View file

@ -83,7 +83,11 @@ setup(
platforms=['any'], platforms=['any'],
packages=packages, packages=packages,
ext_modules=ext_modules, ext_modules=ext_modules,
install_requires=['aiodns>=1.0', 'pyasn1', 'pyasn1_modules', 'aiohttp', 'emoji'], install_requires=['aiodns>=1.0', 'pyasn1', 'pyasn1_modules'],
extras_require={
'XEP-0363': ['aiohttp'],
'XEP-0444 compliance': ['emoji'],
},
classifiers=CLASSIFIERS, classifiers=CLASSIFIERS,
cmdclass={'test': TestCommand} cmdclass={'test': TestCommand}
) )