Skip to content

Commit a732b83

Browse files
author
Jack Jester-Weinstein
committed
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.
1 parent c1f3aed commit a732b83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@
6363
include_package_data = True,
6464
zip_safe = True,
6565
install_requires = [
66-
'twisted >= 12.2.0',
6766
'pyserial >= 2.6'
6867
],
6968
extras_require = {
7069
'quality' : [ 'coverage >= 3.5.3', 'nose >= 1.2.1', 'mock >= 1.0.0', 'pep8 >= 1.3.3' ],
7170
'documents' : [ 'sphinx >= 1.1.3' ],
72-
'twisted' : [ 'pyasn1 >= 0.1.4', 'pycrypto >= 2.6' ],
71+
'twisted' : [ 'twisted >= 12.2.0', 'pyasn1 >= 0.1.4', 'pycrypto >= 2.6' ],
7372
},
7473
test_suite = 'nose.collector',
7574
cmdclass = command_classes,

0 commit comments

Comments
 (0)