annotate docs/__init__.py @ 3194:9fcb7abf3185 default tip

Remove some gcc 4.7.2 compiler warnings
author Lenard Lindstrom <len-l@telus.net>
date Tue, 23 Apr 2013 19:53:36 -0700
parents 2b939307c49e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1780
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
1 # Make docs a package that brings up the main page in a web brower when
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
2 # executed.
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
3 #
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
4 # python -m pygame.docs
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
5
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
6 if __name__ == '__main__':
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
7 import os
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
8 pkg_dir = os.path.dirname(os.path.abspath(__file__))
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
9 main = os.path.join(pkg_dir, '__main__.py')
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
10 execfile(main)
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
11
2b939307c49e make python -m pygame.docs bring up the docs in a browser. also fix Python 3 issues with executable packages
Lenard Lindstrom <len-l@telus.net>
parents:
diff changeset
12