History log of /external/trappy/setup.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e81fdcb135d0325e3bc22fae0583555d20aae280 04-Jan-2017 Brendan Jackman <brendan.jackman@arm.com> Update ARM Ltd. copyright to 2017
/external/trappy/setup.py
712e6f93b308e5dc153017f2fe9c0ed62b12e927 16-Jun-2016 Javi Merino <javi.merino@arm.com> trappy: set the version using an explicit file

There is no pythonic way of specifying the version of a project, [0]
describes 7 (seven!) ways of doing it. We were currently using method
5, setting the value in setup.py and using pkg_resources to get it from
the installed version. This works ok if you have installed the package
using "python setup.py" or pip, but fails if you are importing trappy
from a checkout, which is what lisa do. Even worse, if you import it
from lisa but have an old trappy version installed, trappy.__version__
will tell you the version of the installed trappy, not the one you have
imported and are using.

Switch to use a version.py file that's distributed with the
project (method 3). trappy.__version__ now reads the imported trappy's
version, which is what you want. setup.py and the documentation read
the file when they are installing so as to avoid repeating the version
number there.

[0] https://packaging.python.org/en/latest/single_source_version/
/external/trappy/setup.py
246c0aa44e0de9dab235533706556ceaf8d73f10 01-Jun-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.5.0
/external/trappy/setup.py
c7e2de7216c8b2de37a3425235cd1a9dccf8f9e5 03-May-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.4.0
/external/trappy/setup.py
fff527cbec113746e3baca1fa66651ef93e13d9d 01-Apr-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.3.0
/external/trappy/setup.py
efdf0daef51c9d2d5461876c4408318160cba338 01-Mar-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.2.0
/external/trappy/setup.py
26cf414f6b6c5eca30ef12822bc03e06cb1adc34 10-Feb-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.1.0
/external/trappy/setup.py
8469c319f57d6acb59fd93af395f2ac45eb257fe 05-Jan-2016 Javi Merino <javi.merino@arm.com> setup: install EventPlot_help.jpg

When you install trappy using "pip install" or "python setup.py
install", trappy.EventPlot fails to run because it can't find
EventPlot_help.jpg. Install it with the rest of the data files.
/external/trappy/setup.py
45d260989c763236f70e54af3211419b431bf45e 05-Jan-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.0.1

Minor fix to setup.py
/external/trappy/setup.py
b9d3755abda1e40351b8b0d151682f3c5a8cdae5 05-Jan-2016 Javi Merino <javi.merino@arm.com> setup: fix extras_require name

a365cf0bc2ea ("setup: install matplotlib and ipython only if we are
going to use it with notebooks") added the ability to install more
python packages if the user was interested in running trappy in an
ipython notebook. However, extras_require was mispelled. Fix it.
/external/trappy/setup.py
c4404a0a40f589c7f0c0f52c2ecec6ccab99b721 05-Jan-2016 Javi Merino <javi.merino@arm.com> setup: release trappy 5.0.0

trappy.stats.SchedConf disappeared in 861e6526a9b2 ("stats: Remove
Scheduler specific functions"), which is a change in the API. Bump the
major number.
/external/trappy/setup.py
4ec4aee55dbd4045cfb6a2fe099615a569ce7ff7 05-Jan-2016 Javi Merino <javi.merino@arm.com> trappy: update copyright to 2016
/external/trappy/setup.py
a365cf0bc2ea2e6b3d51e1e9c647b7272c1f88a3 07-Dec-2015 Javi Merino <javi.merino@arm.com> setup: install matplotlib and ipython only if we are going to use it
with notebooks

trappy can work for python scripts that do regression testing. Those
system don't need to do any plotting or display things in a notebook.
Make installation of these features optional and not mandatory.
/external/trappy/setup.py
88dd0cfcaa66600fb70b966191be34d4cd47a160 07-Dec-2015 Javi Merino <javi.merino@arm.com> setup: install pyparsing and numpy when installing trappy

trappy.stats.grammar needs pyparsing and numpy. Explicitly install them
when installing trappy instead of relying on them being installed
indirectly through other dependencies.
/external/trappy/setup.py
444d9b400527b2ca680e3162eeed18a881a1b690 01-Dec-2015 Javi Merino <javi.merino@arm.com> setup: release trappy 4.0.0

The API for the grammar parser changed in 5dae68e080f7 ("stats: grammar:
Remove Topology argument") so increase the major number.
/external/trappy/setup.py
c114f050a2e0552ae98c211421efa023e199e682 19-Nov-2015 Javi Merino <javi.merino@arm.com> setup: release trappy 3.0.0
/external/trappy/setup.py
c0b4f3dadb2bd96ec8e118789bcdaaef94874f01 04-Nov-2015 Javi Merino <javi.merino@arm.com> Bump version to 2.0.0

The API for EventPlot changed in f4eefc02239a ("plotter:
EventPlot: Allow specification of lane names") so increase the major number.
/external/trappy/setup.py
95fecb52aa720949e1a1cf3fd4d51da0d249d16b 23-Sep-2015 Javi Merino <javi.merino@arm.com> setup: fix installation of data files

include_package_data is a very nice idea but it just doesn't work.
After installing trappy, importing it failed with:

>>> import trappy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/__init__.py", line 20, in <module>
from trappy.plotter.LinePlot import LinePlot
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/__init__.py", line 23, in <module>
import trappy.plotter.EventPlot
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/EventPlot.py", line 40, in <module>
IPythonConf.iplot_install("EventPlot")
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/IPythonConf.py", line 119, in iplot_install
install_resource(resource, resource_dest_path)
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/IPythonConf.py", line 94, in install_resource
install_local_resource(from_path, to_path)
File "/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/IPythonConf.py", line 77, in install_local_resource
shutil.copy(from_path, to_path)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/TRAPpy-1.0.0-py2.7.egg/trappy/plotter/js/EventPlot.js'

Explicitly tell setup.py which data files to install.
/external/trappy/setup.py
9c4a49fecccda25b9785ff83d9608ecb36ce46fa 02-Sep-2015 Kapileshwar Singh <kapileshwar.singh@arm.com> setup: Add setup.py

Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
/external/trappy/setup.py