.coverage
htmlcov
tags
+build
+dist
+MANIFEST
+
recursive-include elftools *.py \r
recursive-include scripts *.py\r
recursive-include examples *.py *.elf\r
-prune test\r
+recursive-include test *.py *.elf\r
include README\r
include LICENSE\r
include CHANGES\r
#-------------------------------------------------------------------------------
from __future__ import print_function
import sys
+
+# If elftools is not installed, maybe we're running from the root or examples
+# dir of the source distribution
+try:
+ import elftools
+except ImportError:
+ sys.path.extend(['.', '..'])
+
from elftools.elf.elffile import ELFFile
#-------------------------------------------------------------------------------
from __future__ import print_function
import sys
+
+# If elftools is not installed, maybe we're running from the root or examples
+# dir of the source distribution
+try:
+ import elftools
+except ImportError:
+ sys.path.extend(['.', '..'])
+
from elftools.elf.elffile import ELFFile
from elftools.elf.sections import SymbolTableSection
#-------------------------------------------------------------------------------
from __future__ import print_function
import sys
+
+# If elftools is not installed, maybe we're running from the root or examples
+# dir of the source distribution
+try:
+ import elftools
+except ImportError:
+ sys.path.extend(['.', '..'])
+
from elftools.elf.elffile import ELFFile
from elftools.elf.relocation import RelocationSection
#-------------------------------------------------------------------------------
from __future__ import print_function
import sys
+
+# If elftools is not installed, maybe we're running from the root or examples
+# dir of the source distribution
+try:
+ import elftools
+except ImportError:
+ sys.path.extend(['.', '..'])
+
from elftools.elf.elffile import ELFFile
#-------------------------------------------------------------------------------
from __future__ import print_function
import sys
+
+# If elftools is not installed, maybe we're running from the root or examples
+# dir of the source distribution
+try:
+ import elftools
+except ImportError:
+ sys.path.extend(['.', '..'])
+
from elftools.elf.elffile import ELFFile
from itertools import ifilter
import string
-
# If elftools is not installed, maybe we're running from the root or scripts
# dir of the source distribution
-#
try:
import elftools
except ImportError: