Fix for mixed version loclists, tests (#521)
[pyelftools.git] / setup.py
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 setuptools 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.30',
28 author='Eli Bendersky',
29 maintainer='Eli Bendersky',
30 author_email='eliben@gmail.com',
31 url='https://github.com/eliben/pyelftools',
32 platforms='Cross Platform',
33 classifiers = [
34 'Programming Language :: Python :: 3',
35 ],
36
37 # All packages and sub-packages must be listed here
38 packages=[
39 'elftools',
40 'elftools.elf',
41 'elftools.common',
42 'elftools.dwarf',
43 'elftools.ehabi',
44 'elftools.construct', 'elftools.construct.lib',
45 ],
46
47 scripts=['scripts/readelf.py'],
48 package_data={'elftools': ['py.typed']}
49 )