-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
61 lines (60 loc) · 1.99 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
from distutils.core import setup
setup(name='prodview',
version='1.0',
description='Simple monitoring page for CMS production',
author='Brian Bockelman',
author_email='[email protected]',
url='https://github.com/dmwm/gwmsmon',
packages=['prodview'],
package_dir = {'': 'src'},
data_files=[
('/etc/', [
'packaging/prodview.conf'
]),
('/etc/prodview/', [
'packaging/cleanup.sh',
'packaging/cleanup-tmp.sh'
]),
('/var/www/wsgi-scripts/', [
'packaging/prodview.wsgi'
]),
('/usr/share/prodview/templates/', [
'templates/views/index.html',
'templates/views/request.html',
'templates/views/site.html'
]),
('/etc/httpd/conf.d/', [
'packaging/prodview-httpd.conf',
'packaging/welcome.conf'
]),
# ('/etc/cron.d/', [
# 'packaging/prodview.cron',
# 'packaging/analysisview.cron',
# 'packaging/totalview.cron',
# 'packaging/utilization.cron',
# 'packaging/cleanup.cron',
# 'packaging/cmsconnectview.cron',
# 'packaging/institutionalview.cron',
# 'packaging/condormonitoringcron.cron'
# ]),
('/var/www/html/', [
'templates/index.html',
'templates/css/bootstrap.css',
'templates/css/bootstrap.min.css',
'templates/js/bootstrap.min.js',
'templates/js/jquery.min.js',
'templates/js/loader.js'
]),
],
scripts=[
"src/prodview-update",
"src/analysisview-update",
# "src/analysisviewcrab2-update",
"src/totalview-update",
"src/utilization",
"src/cmsconnect-update",
"src/institutional-update",
"src/functions.py",
"src/timeout.py"
]
)