File: setup.py

package info (click to toggle)
pyopengl 3.0.0~b6-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,696 kB
  • ctags: 26,182
  • sloc: python: 34,233; ansic: 70; sh: 26; makefile: 15
file content (32 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
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
#! /usr/bin/env python
"""OpenGL-ctypes setup script (setuptools-based)
"""
from setuptools import setup, find_packages
import sys, os
sys.path.insert(0, '.' )
import metadata

requirements = []
if sys.hexversion < 0x2050000:
	requirements.append( 'ctypes' )

if __name__ == "__main__":
	setup(
		name = "PyOpenGL",
		packages = find_packages(),
		
		description = 'Standard OpenGL bindings for Python',
		include_package_data = True,
		exclude_package_data = {
			'': [ '*.odp' ],
		},
		zip_safe = False,
		
		install_requires = requirements,
		options = {
			'sdist': {
				'formats': ['gztar','zip'],
			},
		},
		**metadata.metadata
	)