File "lib/python3.5/site-packages/license_expression.py", line 324, in build
if isinstance(expression, basestring) and expression.strip():
NameError: name 'basestring' is not defined
Could be solved with the following:
try:
unicode = unicode
except NameError:
str = str
unicode = str
bytes = bytes
basestring = (str, bytes)
else:
str = str
unicode = unicode
bytes = str
basestring = basestring
Could be solved with the following: