forked from christoph2/objutils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (30 loc) · 1.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/env python
import os
from setuptools import setup, find_packages
from glob import glob
def packagez(base):
return ["{0!s}{1!s}{2!s}".format(base, os.path.sep, p) for p in find_packages(base)]
setup(
name = 'objutils',
version = '0.9.0',
provides = ['objutils'],
description = "Objectfile library for Python",
author = 'Christoph Schueler',
author_email = '[email protected]',
url = 'http://github.com/christoph2/objutils',
packages = packagez('objutils'),
install_requires = ['enum34', 'future', 'mako', 'construct >= 2.8'],
entry_points = {
'console_scripts': [
'readelf.py = objutils.tools.readelf:main',
'ticoff-dump = objutils.tools.ticoffdump:main'
],
},
#data_files = [
# ('objutils/tests/ELFFiles', glob('objutils/tests/ELFFiles*.*')),
#],
package_dir = {'tests': 'objutils/tests'},
package_data = {'tests': ['ELFFiles/*.*']},
#include_package_data = True,
test_suite = "objutils.tests"
)