X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=setup.py;h=2cd5ebdf630fbae28e62940941a9cd27c96af548;hb=79eab65145861824272d2ac5435fe1519b21e595;hp=798770c171e119c03c6747ff2e40814ab5e00c35;hpb=dcdbb94196aaccd6cf1271badf113ca82104264d;p=barectf.git diff --git a/setup.py b/setup.py index 798770c..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,55 +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) - - -# pyPEG2 needs to be installed manually (for pytsdl) until their PyPI -# tarball is fixed for setuptools. -try: - import pypeg2 -except ImportError: - sys.stderr.write('Please install pyPEG2 manually:\n\n') - sys.stderr.write(' sudo pip3 install pyPEG2\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, - description='Generator of ANSI C code that can write native CTF', + 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='tsdl ctf metadata', - url='https://github.com/eepp/barectf', - packages=packages, - install_requires=install_requires, - entry_points=entry_points) + keywords='ctf generator tracing bare-metal bare-machine', + url='https://github.com/efficios/barectf', + packages=[ + 'barectf', + ], + install_requires=[ + 'termcolor', + 'pyyaml', + ], + entry_points={ + 'console_scripts': [ + 'barectf = barectf.cli:run' + ], + })