X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=setup.py;h=2cd5ebdf630fbae28e62940941a9cd27c96af548;hb=79eab65145861824272d2ac5435fe1519b21e595;hp=0743a4d1a3f387ef969386d8a2e1673038aade29;hpb=cc8ceb9ab552d9b3f40a5af03d38e6265124915b;p=barectf.git diff --git a/setup.py b/setup.py index 0743a4d..2cd5ebd 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ # # The MIT License (MIT) # -# Copyright (c) 2014 Philippe Proulx +# Copyright (c) 2014-2015 Philippe Proulx # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -21,45 +21,40 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -import os -import sys -import subprocess -from setuptools import setup - - -# make sure we run Python 3+ here -v = sys.version_info -if v.major < 3: - sys.stderr.write('Sorry, barectf needs Python 3\n') - sys.exit(1) +from setuptools import setup +import sys -install_requires = [ - 'termcolor', - 'pytsdl', -] +def _check_python3(): + # make sure we run Python 3+ here + v = sys.version_info -packages = [ - 'barectf', -] + if v.major < 3: + sys.stderr.write('Sorry, barectf needs Python 3\n') + sys.exit(1) -entry_points = { - 'console_scripts': [ - 'barectf = barectf.cli:run' - ], -} +_check_python3() setup(name='barectf', - version='0.1.1', + version='2.0.0', description='Generator of C99 code that can write native CTF', author='Philippe Proulx', author_email='eeppeliteloop@gmail.com', license='MIT', keywords='ctf generator tracing bare-metal bare-machine', url='https://github.com/efficios/barectf', - packages=packages, - install_requires=install_requires, - entry_points=entry_points) + packages=[ + 'barectf', + ], + install_requires=[ + 'termcolor', + 'pyyaml', + ], + entry_points={ + 'console_scripts': [ + 'barectf = barectf.cli:run' + ], + })