gen, templates: generate default stream trace definitions
[deliverable/barectf.git] / setup.py
CommitLineData
dcdbb941
PP
1#!/usr/bin/env python3
2#
3# The MIT License (MIT)
4#
e5aa0be3 5# Copyright (c) 2014-2015 Philippe Proulx <pproulx@efficios.com>
dcdbb941
PP
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.
dcdbb941 24
e5aa0be3
PP
25from setuptools import setup
26import sys
dcdbb941 27
dcdbb941 28
e5aa0be3
PP
29def _check_python3():
30 # make sure we run Python 3+ here
31 v = sys.version_info
dcdbb941 32
e5aa0be3
PP
33 if v.major < 3:
34 sys.stderr.write('Sorry, barectf needs Python 3\n')
35 sys.exit(1)
dcdbb941
PP
36
37
e5aa0be3 38_check_python3()
dcdbb941
PP
39
40
614f1b64
PP
41import barectf
42
43
dcdbb941 44setup(name='barectf',
614f1b64 45 version=barectf.__version__,
c29af392 46 description='Generator of C99 code that can write native CTF',
dcdbb941
PP
47 author='Philippe Proulx',
48 author_email='eeppeliteloop@gmail.com',
49 license='MIT',
401f0c4f 50 keywords='ctf generator tracing bare-metal bare-machine',
cc8ceb9a 51 url='https://github.com/efficios/barectf',
e5aa0be3
PP
52 packages=[
53 'barectf',
54 ],
79750125
PP
55 package_data={
56 'barectf': [
57 'include/*.yaml',
58 ],
59 },
e5aa0be3
PP
60 install_requires=[
61 'termcolor',
62 'pyyaml',
63 ],
64 entry_points={
65 'console_scripts': [
66 'barectf = barectf.cli:run'
67 ],
68 })
This page took 0.049006 seconds and 4 git commands to generate.