File: __init__.py

package info (click to toggle)
pyopengl 2.0.1.08-5.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 19,484 kB
  • ctags: 9,036
  • sloc: pascal: 64,950; xml: 28,088; ansic: 20,696; python: 19,761; tcl: 668; makefile: 240; sh: 25
file content (27 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (2)
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
# This is statement is required by the build system to query build info
if __name__ == '__build__':
	raise Exception


def __set_attributes():
	global __date__, __version__, __build__
	
	import string, os.path

	__date__ = string.join(string.split('$Date: 2003/10/19 04:03:23 $')[1:3], ' ')
		
	filename = os.path.join(os.path.dirname(__file__), 'version')
	__version__ = string.strip(open(filename).read())
	__build__ = int(string.split(__version__, '.')[3])


__set_attributes()

__author__ = 'Tarn Weisner Burton <twburton@users.sourceforge.net>\nMike C. Fletcher <mcfletch@users.sourceforge.net>'
__doc__ = '''This is PyOpenGL 2.  For information regarding PyOpenGL see:
    http://pyopengl.sourceforge.net

For information on OpenGL see:
    http://www.opengl.org'''
from GL.GL__init___ import __numeric_present__, __numeric_support__