initial addition of files needed for setup
diff --git a/CHANGES b/CHANGES
new file mode 100644
index 0000000..e2109e8
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,5 @@
+Changelog
+=========
+
++ Version 0.10 - Initial public release (??.??.2011)
+
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..9474776
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,10 @@
+recursive-include elftools *.py 

+recursive-include scripts *.py

+recursive-include examples *.py *.elf

+prune test

+include README

+include LICENSE

+include CHANGES

+

+

+

diff --git a/examples/examine_dwarf_info.py b/examples/examine_dwarf_info.py
index ba712dd..7a2c034 100644
--- a/examples/examine_dwarf_info.py
+++ b/examples/examine_dwarf_info.py
@@ -41,7 +41,7 @@
             # 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']
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..d944624
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,41 @@
+#-------------------------------------------------------------------------------

+# pyelftools: setup.py

+#

+# Setup/installation script.

+#

+# Eli Bendersky (eliben@gmail.com)

+# This code is in the public domain

+#-------------------------------------------------------------------------------

+import os, sys

+from distutils.core import setup

+

+

+try:

+    with open('README', 'rt') as readme:

+        description = '\n' + readme.read()

+except IOError:

+    # maybe running setup.py from some other dir

+    description = ''

+

+

+setup(

+    # metadata

+    name='pyelftools',

+    description='Library for analyzing ELF files and DWARF debugging information',

+    long_description=description,

+    license='Public domain',

+    version='0.10',

+    author='Eli Bendersky',

+    maintainer='Eli Bendersky',

+    author_email='eliben@gmail.com',

+    url='https://bitbucket.org/eliben/pyelftools',

+    platforms='Cross Platform',

+    classifiers = [

+        'Programming Language :: Python :: 2',],

+

+    packages=['elftools'],

+

+    scripts=['scripts/readelf.py'],

+)

+

+