blob: 50b5f95df452d0aa99618ee17937dcd41eaa8801 [file] [log] [blame]
Eli Bendersky40545e92011-12-22 15:53:52 +02001#-------------------------------------------------------------------------------
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#-------------------------------------------------------------------------------
9import os, sys
10from distutils.core import setup
11
12
13try:
14 with open('README', 'rt') as readme:
15 description = '\n' + readme.read()
16except IOError:
17 # maybe running setup.py from some other dir
18 description = ''
19
20
21setup(
22 # metadata
23 name='pyelftools',
24 description='Library for analyzing ELF files and DWARF debugging information',
25 long_description=description,
26 license='Public domain',
Eli Bendersky01d873a2012-01-30 19:20:41 +020027 version='0.20',
Eli Bendersky40545e92011-12-22 15:53:52 +020028 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 = [
Eli Bendersky01d873a2012-01-30 19:20:41 +020034 'Programming Language :: Python :: 2',
35 'Programming Language :: Python :: 3',
36 ],
Eli Bendersky40545e92011-12-22 15:53:52 +020037
Eli Benderskyfd34a0e2011-12-24 05:50:42 +020038 # All packages and sub-packages must be listed here
Eli Benderskye56c5be2011-12-23 09:42:37 +020039 packages=[
40 'elftools',
41 'elftools.elf',
42 'elftools.common',
43 'elftools.dwarf',
44 'elftools.construct', 'elftools.construct.lib',
45 ],
Eli Bendersky40545e92011-12-22 15:53:52 +020046
47 scripts=['scripts/readelf.py'],
48)
49
50