Skip to content

Commit

Permalink
Fix setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Oct 9, 2018
1 parent b50e0dd commit 61c1fb5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
import os
from setuptools import setup, find_packages
from glob import glob
import sys

def packagez(base):
return ["{0!s}{1!s}{2!s}".format(base, os.path.sep, p) for p in find_packages(base)]

install_reqs = ['future', 'mako', 'six', 'construct == 2.8.17']

if sys.version_info.major == 2 or (sys.version_info.major == 3 and sys.version_info.minor < 4):
install_reqs.extend(['enum34', 'mock'])

setup(
name = 'objutils',
version = '0.9.0',
Expand All @@ -16,7 +22,7 @@ def packagez(base):
author_email = 'cpu12.gems@googlemail.com',
url = 'http://github.com/christoph2/objutils',
packages = packagez('objutils'),
install_requires = ['enum34', 'future', 'mako', 'six', 'construct >= 2.8'],
install_requires = install_reqs,
entry_points = {
'console_scripts': [
'readelf.py = objutils.tools.readelf:main',
Expand Down

0 comments on commit 61c1fb5

Please sign in to comment.