forked from robotis/rlfl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (44 loc) · 1.5 KB
/
setup.py
File metadata and controls
45 lines (44 loc) · 1.5 KB
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
# -*- coding: utf-8 -*-
from distutils.core import setup
from distutils.extension import Extension
rlfl = Extension('rlfl',
define_macros = [
('DEBUG', '0'),
('RLFL_MAX_MAPS', 16),
('RLFL_MAX_PATHS', 16),
('RLFL_MAX_PROJECTS', 16),
('RLFL_MAX_RANGE', 60),
('RLFL_MAX_RADIUS', 60),
('RLFL_MAX_WIDTH', 5000),
('RLFL_MAX_HEIGHT', 5000),
],
sources = [
'src/random.c',
'src/list_t.c',
'src/rlfl.c',
'src/los.c',
'src/dijkstra.c',
'src/path_astar.c',
'src/path_basic.c',
'src/project.c',
'src/fov_circular_raycasting.c',
'src/fov_recursive_shadowcasting.c',
'src/fov_diamond_raycasting.c',
'src/fov_permissive.c',
'src/fov_restrictive.c',
'src/fov_digital.c',
'src/rlftopy.c'
]
)
setup(
name='rlfl',
version='2.3',
author='Jóhann T. Maríusson',
author_email='jtm@robot.is',
keywords = ["game", "roguelike"],
url='https://github.com/robotis/rlfl',
license='LICENSE.txt',
description='Roguelike Function Library.',
long_description=open('README').read(),
ext_modules=[rlfl],
)