-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
65 lines (59 loc) · 2.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
from configparser import ConfigParser
DISTNAME = 'tacc_stats'
LICENSE = 'LGPL'
AUTHOR = "Texas Advanced Computing Center"
EMAIL = "[email protected]"
URL = "http://www.tacc.utexas.edu"
DOWNLOAD_URL = 'https://github.com/TACC/tacc_stats'
VERSION = "2.3.5"
DESCRIPTION = ("A performance monitoring and analysis package for \
High Performance Computing Platforms")
LONG_DESCRIPTION = """
TACC Stats unifies and extends the measurements taken by Linux monitoring utilities such as systat/SAR, iostat, etc.~and resolves measurements by job and hardware device so that individual job/applications can be analyzed separately. It also provides a set of analysis and reporting tools which analyze TACC Stats resource use data and flags jobs/applications with low resource use efficiency.
"""
scripts=[
'tacc_stats/analysis/metrics/update_metrics.py',
'tacc_stats/site/manage.py',
'tacc_stats/dbload/sacct_gen.py',
'tacc_stats/dbload/sync_acct.py',
'tacc_stats/dbload/sync_timedb.py',
'tacc_stats/listend.py'
]
config = ConfigParser()
config.read("tacc_stats.ini")
with open("tacc_stats/cfg.py", 'w') as fd:
for s in config.sections():
for key, val in dict(config.items(s)).items():
fd.write(key + " = " + "\"" + val + "\"" + '\n')
setup(
name = DISTNAME,
version = VERSION,
maintainer = AUTHOR,
maintainer_email = EMAIL,
description = DESCRIPTION,
license = LICENSE,
url = URL,
download_url = DOWNLOAD_URL,
long_description = LONG_DESCRIPTION,
packages = find_packages(),
package_data = {'tacc_stats' : ['cfg.py']},
include_package_data = True,
scripts = scripts,
install_requires = ['argparse','numpy', 'psycopg2-binary', 'pandas', 'pgcopy',
'bokeh', 'django==3.2.25', 'python-hostlist', 'PyMySQL', 'mod_wsgi',
'mysql-connector-python', 'python-memcached', 'pika', 'mysqlclient'],
platforms = 'any',
classifiers = [
'Development Status :: 5 - Production',
'Environment :: Console',
'Operating System :: Linux',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
]
)