From d9c5b717cd60680b98bbf1a157c859a6ddb853a5 Mon Sep 17 00:00:00 2001 From: Jack Jester-Weinstein Date: Fri, 13 Oct 2017 14:31:30 -0700 Subject: [PATCH] Move twisted requirement to extra Currently some of the asynchronous dependencies (pyasn1, pycrypto) are listed under a 'twisted' extra, but twisted is not. This commit moves twisted to the 'twisted' extra, so that `pip install pymodbus['twisted'] installs twisted and all async dependencies, and `pip install pymodbus` installs only pyserial. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 258524c03..b8619fd79 100644 --- a/setup.py +++ b/setup.py @@ -63,13 +63,12 @@ include_package_data = True, zip_safe = True, install_requires = [ - 'twisted >= 12.2.0', 'pyserial >= 2.6' ], extras_require = { 'quality' : [ 'coverage >= 3.5.3', 'nose >= 1.2.1', 'mock >= 1.0.0', 'pep8 >= 1.3.3' ], 'documents' : [ 'sphinx >= 1.1.3' ], - 'twisted' : [ 'pyasn1 >= 0.1.4', 'pycrypto >= 2.6' ], + 'twisted' : [ 'twisted >= 12.2.0', 'pyasn1 >= 0.1.4', 'pycrypto >= 2.6' ], }, test_suite = 'nose.collector', cmdclass = command_classes,