root/05/bugfix/setup-ext.py

Revision 7, 0.5 kB (checked in by ug, 5 years ago)

Copy previously done changes to bugfix branch

Line 
1# ------ setup-ext.py -------
2import sys
3from distutils.core import setup, Extension
4
5matchCext = Extension('matchC', sources=['matchC.cc'], libraries=['stdc++'],
6                        library_dirs=['/usr/lib'])
7sgfparsCext = Extension('_sgfpars', sources = ['sgfpars.cc', 'sgfpars_wrap.cxx'], libraries=['stdc++'],
8                        library_dirs=['/usr/lib'])
9                         
10setup(name = 'matchC', ext_modules = [ matchCext ])
11setup(name = '_sgfpars', ext_modules = [sgfparsCext])
12# ---------------------------
Note: See TracBrowser for help on using the browser.