root/05/release-0.5k/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 -------
2 import sys
3 from distutils.core import setup, Extension
4
5 matchCext = Extension('matchC', sources=['matchC.cc'], libraries=['stdc++'],
6                         library_dirs=['/usr/lib'])
7 sgfparsCext = Extension('_sgfpars', sources = ['sgfpars.cc', 'sgfpars_wrap.cxx'], libraries=['stdc++'],
8                         library_dirs=['/usr/lib'])
9                          
10 setup(name = 'matchC', ext_modules = [ matchCext ])
11 setup(name = '_sgfpars', ext_modules = [sgfparsCext])
12 # ---------------------------
13
Note: See TracBrowser for help on using the browser.