Update tox to run all_tests
[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.28',
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 :: 2',
35 'Programming Language :: Python :: 3',
36 ],
37
38 # All packages and sub-packages must be listed here
39 packages=[
40 'elftools',
41 'elftools.elf',
42 'elftools.common',
43 'elftools.dwarf',
44 'elftools.ehabi',
45 'elftools.construct', 'elftools.construct.lib',
46 ],
47
48 scripts=['scripts/readelf.py']
49 )