#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import

import platform

from distutils.core import setup
from distutils.extension import Extension
from os import environ


from Cython.Distutils import build_ext

if platform.system() == 'Darwin':
	environ['LDFLAGS']='-framework Cg'
	libraries=[]
else:
	libraries=['Cg', 'CgGL', 'GL']
	
extensions = [
	Extension(
		"cg.bridge",
		["cg/bridge.pyx"],
		libraries=libraries,
		include_dirs=['cg'],
	)
]

setup(
	name='python-cg',
	version='0.1',
	description='Python wrapper for NVidia Cg Toolkit',
	author='Jakub Stasiak',
	author_email='jakub@stasiak.at',
	packages=['cg'],
	cmdclass={'build_ext': build_ext},
	ext_modules=extensions,
	requires=[
		'cython>=0.18',
		'nose>=1.2',
		'mock>=1.0',
	],
)

@@ -733,14 +733,18 @@
 thon
+ (
 %3E=
+ 
 0.18
+)
 ',%0A%09
@@ -753,13 +753,17 @@
 nose
+ (
 %3E=
+ 
 1.2
+)
 ',%0A%09
@@ -772,13 +772,17 @@
 mock
+ (
 %3E=
+ 
 1.0
+)
 ',%0A%09

Fix setup typos