|
Revision 32, 493 bytes
(checked in by ug, 5 years ago)
|
Include sgfparserC in setup-ext.py
|
| Line | |
|---|
| 1 |
|
|---|
| 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 |
sgfparserCext = Extension('sgfparserC', sources=['sgfparserC.cc'], libraries=['stdc++'], |
|---|
| 8 |
library_dirs=['/usr/lib']) |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
setup(name = 'matchC', ext_modules = [ matchCext ]) |
|---|
| 12 |
setup(name = 'sgfparserC', ext_modules = [ sgfparserCext ]) |
|---|
| 13 |
|
|---|