# values. Values are represented by AttributeValue objects in
# elftools/dwarf/die.py
# We're interested in the DW_AT_name attribute. Note that its value
- # is usually a string taken from the .debug_string section. This
+ # is usually a string taken from the .debug_str section. This
# is done transparently by the library, and such a value will be
# simply given as a string.
name_attr = top_DIE.attributes['DW_AT_name']
--- /dev/null
+#-------------------------------------------------------------------------------\r
+# pyelftools: setup.py\r
+#\r
+# Setup/installation script.\r
+#\r
+# Eli Bendersky (eliben@gmail.com)\r
+# This code is in the public domain\r
+#-------------------------------------------------------------------------------\r
+import os, sys\r
+from distutils.core import setup\r
+\r
+\r
+try:\r
+ with open('README', 'rt') as readme:\r
+ description = '\n' + readme.read()\r
+except IOError:\r
+ # maybe running setup.py from some other dir\r
+ description = ''\r
+\r
+\r
+setup(\r
+ # metadata\r
+ name='pyelftools',\r
+ description='Library for analyzing ELF files and DWARF debugging information',\r
+ long_description=description,\r
+ license='Public domain',\r
+ version='0.10',\r
+ author='Eli Bendersky',\r
+ maintainer='Eli Bendersky',\r
+ author_email='eliben@gmail.com',\r
+ url='https://bitbucket.org/eliben/pyelftools',\r
+ platforms='Cross Platform',\r
+ classifiers = [\r
+ 'Programming Language :: Python :: 2',],\r
+\r
+ packages=['elftools'],\r
+\r
+ scripts=['scripts/readelf.py'],\r
+)\r
+\r
+ \r