1#!/usr/bin/env python 2# Copyright 2015-2017 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 19execfile("trappy/version.py") 20 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 "numpy", 32 "pyparsing", 33 "pandas>=0.13.1", 34] 35 36EXTRAS = { 37 "notebook": ["matplotlib>=1.3.1", 38 "ipython>=3.0.0", 39 "jupyter>=1.0.0", 40 ], 41} 42 43data_files = {"trappy.plotter": ["js/EventPlot.js", 44 "js/ILinePlot.js", 45 "css/EventPlot.css", 46 "css/EventPlot_help.jpg", 47 ] 48} 49 50setup(name='TRAPpy', 51 version=__version__, 52 license="Apache v2", 53 author="ARM-TRAPPY", 54 author_email="trappy@arm.com", 55 description="Trace Analysis and Plotting", 56 long_description=LONG_DESCRIPTION, 57 url="http://arm-software.github.io/trappy", 58 packages=find_packages(), 59 package_data=data_files, 60 scripts=["scripts/publish_interactive_plots.py"], 61 classifiers=[ 62 "Development Status :: 5 - Production/Stable", 63 "Environment :: Web Environment", 64 "Environment :: Console", 65 "License :: OSI Approved :: Apache Software License", 66 "Operating System :: POSIX :: Linux", 67 "Programming Language :: Python :: 2.7", 68 # As we depend on trace data from the Linux Kernel/FTrace 69 "Topic :: System :: Operating System Kernels :: Linux", 70 "Topic :: Scientific/Engineering :: Visualization" 71 ], 72 install_requires=REQUIRES, 73 extras_require=EXTRAS 74 ) 75