Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 1 | #!/usr/bin/env python |
Javi Merino | 4ec4aee | 2016-01-05 15:01:56 +0000 | [diff] [blame] | 2 | # Copyright 2015-2016 ARM Limited |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 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 | fff527c | 2016-04-01 09:55:12 +0100 | [diff] [blame] | 19 | VERSION = "5.3.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 = [ |
Javi Merino | 88dd0cf | 2015-12-07 15:19:18 +0000 | [diff] [blame] | 31 | "numpy", |
| 32 | "pyparsing", |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 33 | "pandas>=0.13.1", |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 34 | ] |
| 35 | |
Javi Merino | a365cf0 | 2015-12-07 15:15:45 +0000 | [diff] [blame] | 36 | EXTRAS = { |
| 37 | "notebook": ["matplotlib>=1.3.1", |
| 38 | "ipython>=3.0.0", |
| 39 | "jupyter>=1.0.0", |
| 40 | ], |
| 41 | } |
| 42 | |
Javi Merino | 95fecb5 | 2015-09-23 11:45:10 +0100 | [diff] [blame] | 43 | data_files = {"trappy.plotter": ["js/EventPlot.js", |
| 44 | "js/ILinePlot.js", |
| 45 | "css/EventPlot.css", |
Javi Merino | 8469c31 | 2016-01-05 17:01:32 +0000 | [diff] [blame] | 46 | "css/EventPlot_help.jpg", |
Javi Merino | 95fecb5 | 2015-09-23 11:45:10 +0100 | [diff] [blame] | 47 | ] |
| 48 | } |
| 49 | |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 50 | setup(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(), |
Javi Merino | 95fecb5 | 2015-09-23 11:45:10 +0100 | [diff] [blame] | 59 | package_data=data_files, |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 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 | ], |
Javi Merino | a365cf0 | 2015-12-07 15:15:45 +0000 | [diff] [blame] | 72 | install_requires=REQUIRES, |
Javi Merino | b9d3755 | 2016-01-05 15:57:07 +0000 | [diff] [blame] | 73 | extras_require=EXTRAS |
Kapileshwar Singh | 9c4a49f | 2015-09-02 17:55:42 +0100 | [diff] [blame] | 74 | ) |