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 |
|
Eli Bendersky | fd34a0e | 2011-12-24 05:50:42 +0200 | [diff] [blame^] | 36 | # All packages and sub-packages must be listed here
|
Eli Bendersky | e56c5be | 2011-12-23 09:42:37 +0200 | [diff] [blame] | 37 | packages=[
|
| 38 | 'elftools',
|
| 39 | 'elftools.elf',
|
| 40 | 'elftools.common',
|
| 41 | 'elftools.dwarf',
|
| 42 | 'elftools.construct', 'elftools.construct.lib',
|
| 43 | ],
|
Eli Bendersky | 40545e9 | 2011-12-22 15:53:52 +0200 | [diff] [blame] | 44 |
|
| 45 | scripts=['scripts/readelf.py'],
|
| 46 | )
|
| 47 |
|
| 48 |
|