--- setup.py.orig	2015-11-14 15:33:14.000000000 -0600
+++ setup.py	2015-11-14 15:37:20.000000000 -0600
@@ -42,18 +42,12 @@
 
 os.chdir(pjoin("src", "swiginac"))
 
-# The command line argument for running swig in c++ mode has changed from
-# Python 2.3 to 2.4. We support both.
-swig_opt = '--swig-cpp'
-if distutils.__version__ >= '2.4': swig_opt = '--swig-opts=-c++'
-
 if argv[1] == 'build':
     argv[1] = 'build_ext'
-if argv[1] == 'build_ext':
-    argv.insert(2, swig_opt)
     
 e = Extension(name='_swiginac',
               sources=['swiginac.i'],
+              swig_opts=['-c++'],
               **pkgconfig("ginac")
              )
 
