diff options
author | David Sommerseth <davids@redhat.com> | 2012-12-17 16:13:06 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-12-17 16:13:06 +0100 |
commit | 8e4c88a58e9c586081dbfc1f54f4bd02a4badcd9 (patch) | |
tree | 82a8ace20ef19d254c7ef0a6c125dc96af73ea95 /setup.py | |
parent | 17faa159f7c469678f4f6ee54119b175589e9f5f (diff) | |
download | rteval-8e4c88a58e9c586081dbfc1f54f4bd02a4badcd9.tar.gz rteval-8e4c88a58e9c586081dbfc1f54f4bd02a4badcd9.tar.xz rteval-8e4c88a58e9c586081dbfc1f54f4bd02a4badcd9.zip |
Updated distutils to pick up the restructured rteval
Also pick the rteval version from the module itself, to avoid
having it hardcoded more places.
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 25 |
1 files changed, 18 insertions, 7 deletions
@@ -2,17 +2,23 @@ from distutils.sysconfig import get_python_lib from distutils.core import setup from os.path import isfile, join -import glob -import os +import glob, os, shutil +from rteval import RTEVAL_VERSION +from rteval.sysinfo import dmi # Just to get rid of a warning # Get PYTHONLIB with no prefix so --prefix installs work. PYTHONLIB = join(get_python_lib(standard_lib=1, prefix=''), 'site-packages') + +# DMI module might be loaded, so ignore any warnings it may have +dmi.ProcessWarnings() + + setup(name="rteval", - version = "1.36", - description = "evaluate system performance for Realtime", - author = "Clark Williams", - author_email = "williams@redhat.com", + version = RTEVAL_VERSION, + description = "Evaluate system performance for Realtime", + author = "Clark Williams, David Sommerseth", + author_email = "williams@redhat.com, davids@redhat.com", license = "GPLv2", long_description = """\ @@ -26,5 +32,10 @@ of time. When the run is finished, the sample data from cyclictest is analyzed for standard statistical measurements (i.e mode, median, range, mean, variance and standard deviation) and a report is generated. """, - packages = ["rteval"], + packages = ["rteval", + "rteval.modules", + "rteval.modules.loads", + "rteval.modules.measurement", + "rteval.sysinfo"], + scripts = ["rteval-cmd"], ) |