root/05/release-0.5g/setup-ext.py
| Revision 1, 386 bytes (checked in by ugz, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | # ------ setup-ext.py ------- |
| 2 | import sys |
| 3 | from distutils.core import setup, Extension |
| 4 | |
| 5 | matchCext = Extension('matchC', sources=['matchC.cc']) |
| 6 | sgfparsCext = Extension('_sgfpars', sources = ['sgfpars.cc', 'sgfpars_wrap.cxx']) |
| 7 | |
| 8 | setup(name = 'matchC', ext_modules = [ matchCext ]) |
| 9 | setup(name = '_sgfpars', ext_modules = [sgfparsCext]) |
| 10 | # --------------------------- |
| 11 |
Note: See TracBrowser for help on using the browser.
