#
# The MIT License (MIT)
#
-# Copyright (c) 2014 Philippe Proulx <philippe.proulx@efficios.com>
+# Copyright (c) 2014-2015 Philippe Proulx <pproulx@efficios.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# 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'
+ ],
+ })