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
)
|