Fixes:
http://autobuild.buildroot.net/results/234/234913f86da45df0708bbe3bf7361169e2398c9f
Autobahn contains optional logic using asyncio, which causes pycompile
issues when running in python 2.x:
pycompile.py --strip-root /srv/storage/autobuild/run/instance-1/output-1/target /srv/storage/autobuild/run/instance-1/output-1/target/usr/lib/python2.7
error: File "/usr/lib/python2.7/site-packages/autobahn/xbr/_blockchain.py", line 97
async def get_market_status(self, market_id):
^
SyntaxError: invalid syntax
As a workaround, simply drop the unusable files from TARGET_DIR if building
for python 2.x.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
In addition:
- select python-cryptography as it's now a runtime dependency
- Fix a typo in the help.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
[Thomas: remove dependency on having .py files, since it builds fine
and imports fine with .pyc files only.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>