Eli Bendersky | 40545e9 | 2011-12-22 15:53:52 +0200 | [diff] [blame] | 1 | #-------------------------------------------------------------------------------
|
| 2 | # pyelftools: setup.py
|
| 3 | #
|
| 4 | # Setup/installation script.
|
| 5 | #
|
| 6 | # Eli Bendersky (eliben@gmail.com)
|
| 7 | # This code is in the public domain
|
| 8 | #-------------------------------------------------------------------------------
|
| 9 | import os, sys
|
| 10 | from distutils.core import setup
|
| 11 |
|
| 12 |
|
| 13 | try:
|
| 14 | with open('README', 'rt') as readme:
|
| 15 | description = '\n' + readme.read()
|
| 16 | except IOError:
|
| 17 | # maybe running setup.py from some other dir
|
| 18 | description = ''
|
| 19 |
|
| 20 |
|
| 21 | setup(
|
| 22 | # metadata
|
| 23 | name='pyelftools',
|
| 24 | description='Library for analyzing ELF files and DWARF debugging information',
|
| 25 | long_description=description,
|
| 26 | license='Public domain',
|
| 27 | version='0.10',
|
| 28 | author='Eli Bendersky',
|
| 29 | maintainer='Eli Bendersky',
|
| 30 | author_email='eliben@gmail.com',
|
| 31 | url='https://bitbucket.org/eliben/pyelftools',
|
| 32 | platforms='Cross Platform',
|
| 33 | classifiers = [
|
| 34 | 'Programming Language :: Python :: 2',],
|
| 35 |
|
| 36 | packages=['elftools'],
|
| 37 |
|
| 38 | scripts=['scripts/readelf.py'],
|
| 39 | )
|
| 40 |
|
| 41 |
|