mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-07 12:31:54 +01:00
Add support for Python 3
Add support for running on Python 3 while maintaining Python 2 compatibility.
This commit is contained in:
committed by
Marc Bonnici
parent
0d63386343
commit
5cafd2ec4d
3
setup.py
3
setup.py
@@ -70,6 +70,7 @@ params = dict(
|
||||
'pexpect>=3.3', # Send/recieve to/from device
|
||||
'pyserial', # Serial port interface
|
||||
'wrapt', # Basic for construction of decorator functions
|
||||
'future', # Python 2-3 compatibility
|
||||
],
|
||||
extras_require={
|
||||
'daq': ['daqpower'],
|
||||
@@ -85,7 +86,7 @@ params = dict(
|
||||
],
|
||||
)
|
||||
|
||||
all_extras = list(chain(params['extras_require'].itervalues()))
|
||||
all_extras = list(chain(iter(params['extras_require'].values())))
|
||||
params['extras_require']['full'] = all_extras
|
||||
|
||||
setup(**params)
|
||||
|
Reference in New Issue
Block a user