forked from markweirath/big-brother-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
b3_run.py
46 lines (38 loc) · 1.77 KB
/
b3_run.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
#!/usr/bin/env python
#
# BigBrotherBot(B3) (www.bigbrotherbot.com)
# Copyright (C) 2005 Michael "ThorN" Thornton
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# This section is DoxuGen information. More information on how to comment your code
# is available at http://wiki.bigbrotherbot.net/doku.php/customize:doxygen_rules
## @mainpage
# <p>This documentation is the Bigbrotherbot Reference for developers.</p>
# <p>If you are a B3 developer, please document your classes, methods properly.<br />
# More information on how to document code can be found on http://wiki.bigbrotherbot.net/doku.php/customize:doxygen_rules</p>
# <p><a href="http://doc.bigbrotherbot.net">doc.bigbrotherbot.net</a></p>
## @file
# The entry point to run B3
__author__ = 'ThorN'
__version__ = '1.1.1'
import sys
if sys.version_info >= (3,):
raise SystemExit("Sorry, cannot continue, B3 is not yet compatible with python version 3!")
if sys.version_info < (2,6):
raise SystemExit("Sorry, cannot continue, B3 is not compatible with python versions earlier than 2.6!")
import b3.run
def main():
b3.run.main()
if __name__ == '__main__':
main()