doc: improve CTF packet anatomy diagram
[deliverable/barectf.git] / setup.py
1 #!/usr/bin/env python3
2 #
3 # The MIT License (MIT)
4 #
5 # Copyright (c) 2014 Philippe Proulx <philippe.proulx@efficios.com>
6 #
7 # Permission is hereby granted, free of charge, to any person obtaining a copy
8 # of this software and associated documentation files (the "Software"), to deal
9 # in the Software without restriction, including without limitation the rights
10 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 # copies of the Software, and to permit persons to whom the Software is
12 # furnished to do so, subject to the following conditions:
13 #
14 # The above copyright notice and this permission notice shall be included in
15 # all copies or substantial portions of the Software.
16 #
17 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 # THE SOFTWARE.
24 import os
25 import sys
26 import subprocess
27 from setuptools import setup
28
29
30 # make sure we run Python 3+ here
31 v = sys.version_info
32 if v.major < 3:
33 sys.stderr.write('Sorry, barectf needs Python 3\n')
34 sys.exit(1)
35
36
37 install_requires = [
38 'termcolor',
39 'pytsdl',
40 ]
41
42
43 packages = [
44 'barectf',
45 ]
46
47
48 entry_points = {
49 'console_scripts': [
50 'barectf = barectf.cli:run'
51 ],
52 }
53
54
55 setup(name='barectf',
56 version=0.1,
57 description='Generator of C99 code that can write native CTF',
58 author='Philippe Proulx',
59 author_email='eeppeliteloop@gmail.com',
60 license='MIT',
61 keywords='ctf generator tracing bare-metal bare-machine',
62 url='https://github.com/eepp/barectf',
63 packages=packages,
64 install_requires=install_requires,
65 entry_points=entry_points)
This page took 0.031228 seconds and 4 git commands to generate.