projects
/
flatland.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed flatland-test.py to test-flatland.py.
[flatland.git]
/
build.py
diff --git
a/build.py
b/build.py
index
4c3b766
..
3078209
100755
(executable)
--- a/
build.py
+++ b/
build.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
-for-pytorch
+#!/usr/bin/env python
#
# flatland is a simple 2d physical simulator
#
# flatland is a simple 2d physical simulator
@@
-27,7
+27,7
@@
from torch.utils.ffi import create_extension
abs_path = os.path.dirname(os.path.abspath(__file__))
ffi = create_extension(
abs_path = os.path.dirname(os.path.abspath(__file__))
ffi = create_extension(
- '
_ext.
flatland',
+ 'flatland',
headers = [ 'flatland.h' ],
sources = [ 'flatland.c' ],
extra_objects = [ abs_path + '/flatland_generator.so' ],
headers = [ 'flatland.h' ],
sources = [ 'flatland.c' ],
extra_objects = [ abs_path + '/flatland_generator.so' ],