-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
139 lines (101 loc) · 1.92 KB
/
settings.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
import socket
host = socket.gethostname()
roots = {
'agni.local': '/Users/chris/soccer',
'agni': '/Users/chris/soccer',
'bert': '/home/chris/www',
'oscar': '/home/chris/soccer',
'li1014-58': '/home/chris/soccer',
'jason': '/home/chris/soccer',
'ubuntu': '/home/chris/soccer', # Need to fix.
}
ROOT_DIR = roots[host]
# What items are shown on the dashboard
STAT_TABLES = [
'games',
'goals',
'fouls',
'lineups',
'stats',
'gstats',
'standings',
'transactions',
'rosters',
'gen_rosters',
'awards',
'bios',
]
# Sources are listed in terms of reliability; Order affects priority when merging games.
# need to reduce this dramatically.
SOURCES = [
'world_i',
'fifa',
'concacaf_i',
'conmebol_i',
'oceania_i',
'usa',
'england',
'world',
'concacaf',
'conmebol',
'oceania',
#'uncaf',
#'cfu',
'alpf',
'asl',
'nasl',
'mls',
'mls2',
'mls3',
#'nafbl',
'asl2',
'us_minor',
#'us_d2',
#'us_d3',
#'us_d4',
'us_lower',
'ltrack',
'us_cups',
'us_friendly',
'ncaa',
'state',
'city',
'women',
'canada',
'mexico',
'colombia',
'uruguay',
'chile',
'argentina',
'brazil',
'afc',
#'china',
#'japan',
#'korea',
#'australia',
'uefa',
'epl',
'mediotiempo',
'indoor',
]
SINGLE_SOURCES = [
'competitions',
'seasons',
'teams',
'stadiums',
'cities',
'states',
'countries',
'news',
'sources',
'awards',
'drafts',
'picks',
'salaries', # player, date -> integer
'positions', # player, date -> team
'state_populations', # state -> integer
'name_maps', # team, date -> string
'stadium_maps', # team, date -> stadium
'competition_maps', # competition, date -> string
# 'prerosters', # huh?#
]