-#-------------------------------------------------------------------------------\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.24',\r
- author='Eli Bendersky',\r
- maintainer='Eli Bendersky',\r
- author_email='eliben@gmail.com',\r
- url='https://github.com/eliben/pyelftools',\r
- platforms='Cross Platform',\r
- classifiers = [\r
- 'Programming Language :: Python :: 2',\r
- 'Programming Language :: Python :: 3',\r
- ],\r
-\r
- # All packages and sub-packages must be listed here\r
- packages=[\r
- 'elftools',\r
- 'elftools.elf',\r
- 'elftools.common',\r
- 'elftools.dwarf',\r
- 'elftools.construct', 'elftools.construct.lib',\r
- ],\r
-\r
- scripts=['scripts/readelf.py']\r
-)\r
+#-------------------------------------------------------------------------------
+# 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.24',
+ author='Eli Bendersky',
+ maintainer='Eli Bendersky',
+ author_email='eliben@gmail.com',
+ url='https://github.com/eliben/pyelftools',
+ platforms='Cross Platform',
+ classifiers = [
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 3',
+ ],
+
+ # All packages and sub-packages must be listed here
+ packages=[
+ 'elftools',
+ 'elftools.elf',
+ 'elftools.common',
+ 'elftools.dwarf',
+ 'elftools.construct', 'elftools.construct.lib',
+ ],
+
+ scripts=['scripts/readelf.py']
+)