-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
52 lines (48 loc) · 1.53 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
from setuptools import setup
from distutils.core import Extension
setup(
name='libhomeworlds',
version='1.1.0',
install_requires=[
# pip requirements go here; at the moment there are none
],
package_data={'': ['LICENSE']},
ext_modules=[
Extension(
'libhomeworlds',
sources=[
'pythonsrc/py-libhomeworlds.cc',
'pythonsrc/py-wholemove.cc',
'pythonsrc/py-gamestate.cc',
'core-src/AIMove.cc',
'core-src/AIStaticEval.cc',
'core-src/AllMoves.cc',
'core-src/ApplyMove.cc',
'core-src/GameState.cc',
'core-src/InferMove.cc',
'core-src/PieceCollection.cc',
'core-src/PlanetNames.cc',
'core-src/SingleAction.cc',
'core-src/StarSystem.cc',
'core-src/WholeMove.cc',
'core-src/mprintf.cc',
],
extra_compile_args=[
'-std=c++14',
],
),
],
include_dirs=[
'.',
],
test_suite='pythonsrc.tests',
# metadata for upload to PyPI
author="Arthur O'Dwyer",
author_email='[email protected]',
description="AI for Binary Homeworlds, written in C++.",
license='http://creativecommons.org/licenses/BSD/',
long_description=None,
keywords='ai bot homeworlds game labs looney superdupergames',
url='https://github.com/Quuxplusone/Homeworlds',
)