blob: 9db1d0618282609024d0640282941808329c91ae [file] [log] [blame]
Kapileshwar Singh9c4a49f2015-09-02 17:55:42 +01001#!/usr/bin/env python
2# Copyright 2015-2015 ARM Limited
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16from setuptools import setup, find_packages
17
18
Javi Merino444d9b42015-12-01 12:17:24 +000019VERSION = "4.0.0"
Kapileshwar Singh9c4a49f2015-09-02 17:55:42 +010020
21LONG_DESCRIPTION = """TRAPpy is a framework written in python for
22analysing and plotting FTrace data by converting it into standardised
23PANDAS DataFrames (tabular times series data representation).The goal is to
24allow developers easy and systematic access to FTrace data and leverage
25the flexibility of PANDAS for the analysis.
26
27TRAPpy also provides functionality to build complex statistical analysis
28based on the underlying FTrace data.
29"""
30REQUIRES = [
31 "matplotlib>=1.3.1",
Javi Merino88dd0cf2015-12-07 15:19:18 +000032 "numpy",
33 "pyparsing",
Kapileshwar Singh9c4a49f2015-09-02 17:55:42 +010034 "pandas>=0.13.1",
35 "ipython>=3.0.0",
36 "jupyter>=1.0.0",
37]
38
Javi Merino95fecb52015-09-23 11:45:10 +010039data_files = {"trappy.plotter": ["js/EventPlot.js",
40 "js/ILinePlot.js",
41 "css/EventPlot.css",
42 ]
43}
44
Kapileshwar Singh9c4a49f2015-09-02 17:55:42 +010045setup(name='TRAPpy',
46 version=VERSION,
47 license="Apache v2",
48 author="ARM-TRAPPY",
49 author_email="trappy@arm.com",
50 description="Trace Analysis and Plotting",
51 long_description=LONG_DESCRIPTION,
52 url="http://arm-software.github.io/trappy",
53 packages=find_packages(),
Javi Merino95fecb52015-09-23 11:45:10 +010054 package_data=data_files,
Kapileshwar Singh9c4a49f2015-09-02 17:55:42 +010055 scripts=["scripts/publish_interactive_plots.py"],
56 classifiers=[
57 "Development Status :: 5 - Production/Stable",
58 "Environment :: Web Environment",
59 "Environment :: Console",
60 "License :: OSI Approved :: Apache Software License",
61 "Operating System :: POSIX :: Linux",
62 "Programming Language :: Python :: 2.7",
63 # As we depend on trace data from the Linux Kernel/FTrace
64 "Topic :: System :: Operating System Kernels :: Linux",
65 "Topic :: Scientific/Engineering :: Visualization"
66 ],
67 install_requires=REQUIRES
68 )