-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
31 lines (29 loc) · 974 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from distutils.core import setup, Extension
import os
floydModule = Extension(
'floyd',
sources = [
'Source/cplus.c',
'Source/engine.c',
'Source/evaluate.c',
'Source/floydmodule.c',
'Source/format.c',
'Source/moves.c',
'Source/kpk.c',
'Source/parse.c',
'Source/search.c',
'Source/test.c',
'Source/ttable.c',
'Source/uci.c',
'Source/zobrist.c' ],
undef_macros = ['NDEBUG'],
define_macros = [('PYTHON_MODULE', None)]
)
setup(
name = 'floyd',
version = os.environ['floydVersion'],
description = 'Chess engine study',
author = 'Marcel van Kervinck',
author_email = '[email protected]',
url = 'http://marcelk.net/floyd',
ext_modules = [floydModule])