Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 1 | #!/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 | # |
| 16 | from setuptools import setup, find_packages |
| 17 | |
| 18 | |
Javi Merino | 444d9b4 | 2015-12-01 12:17:24 +0000 | [diff] [blame] | 19 | VERSION = "4.0.0" |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 20 | |
| 21 | LONG_DESCRIPTION = """TRAPpy is a framework written in python for |
| 22 | analysing and plotting FTrace data by converting it into standardised |
| 23 | PANDAS DataFrames (tabular times series data representation).The goal is to |
| 24 | allow developers easy and systematic access to FTrace data and leverage |
| 25 | the flexibility of PANDAS for the analysis. |
| 26 | |
| 27 | TRAPpy also provides functionality to build complex statistical analysis |
| 28 | based on the underlying FTrace data. |
| 29 | """ |
| 30 | REQUIRES = [ |
| 31 | "matplotlib>=1.3.1", |
Javi Merino | 88dd0cf | 2015-12-07 15:19:18 +0000 | [diff] [blame^] | 32 | "numpy", |
| 33 | "pyparsing", |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 34 | "pandas>=0.13.1", |
| 35 | "ipython>=3.0.0", |
| 36 | "jupyter>=1.0.0", |
| 37 | ] |
| 38 | |
Javi Merino | 95fecb5 | 2015-09-23 11:45:10 +0100 | [diff] [blame] | 39 | data_files = {"trappy.plotter": ["js/EventPlot.js", |
| 40 | "js/ILinePlot.js", |
| 41 | "css/EventPlot.css", |
| 42 | ] |
| 43 | } |
| 44 | |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 45 | setup(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 Merino | 95fecb5 | 2015-09-23 11:45:10 +0100 | [diff] [blame] | 54 | package_data=data_files, |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 55 | 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 | ) |