New code structure
[deliverable/lttng-analyses.git] / lttnganalysescli / setup.py
1 #!/usr/bin/env python3
2 #
3 # The MIT License (MIT)
4 #
5 # Copyright (c) 2014 Philippe Proulx <eepp.ca>
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
25 from setuptools import setup
26 import sys
27
28
29 # make sure we run Python 3+ here
30 v = sys.version_info
31 if v.major < 3:
32 sys.stderr.write('Sorry, lttnganalysescli needs Python 3\n')
33 sys.exit(1)
34
35 packages = [
36 'lttnganalysescli',
37 ]
38
39 entry_points = {
40 'console_scripts': [
41 'iotop = lttnganalysescli.iotop:run'
42 ],
43 }
44
45 import lttnganalysescli
46
47 setup(name='lttnganalysescli',
48 version=lttnganalysescli.__version__,
49 description='LTTng analyses command line interfaces',
50 author='Julien Desfossez',
51 author_email='jdesfossez@efficios.com',
52 url='https://github.com/jdesfossez/lttng-analyses',
53 packages=packages,
54 entry_points=entry_points)
This page took 0.03104 seconds and 5 git commands to generate.