Skip to content

Commit 2deaf4d

Browse files
committed
Migrate to src layout
1 parent 8587094 commit 2deaf4d

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

meson.build

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ py = py_module.find_installation(pure: false)
99
py_dep = py.dependency()
1010

1111
py.install_sources(
12-
'memory_allocator/__init__.py',
13-
'memory_allocator/__init__.pxd',
14-
'memory_allocator/memory_allocator.pxd',
15-
'memory_allocator/memory.pxd',
16-
'memory_allocator/signals.pxd',
12+
'src/memory_allocator/__init__.py',
13+
'src/memory_allocator/__init__.pxd',
14+
'src/memory_allocator/memory_allocator.pxd',
15+
'src/memory_allocator/memory.pxd',
16+
'src/memory_allocator/signals.pxd',
1717
subdir: 'memory_allocator',
1818
)
1919

2020
extensions = {
21-
'memory_allocator': files('memory_allocator/memory_allocator.pyx'),
22-
'test': files('memory_allocator/test.pyx'),
21+
'memory_allocator': files('src/memory_allocator/memory_allocator.pyx'),
22+
'test': files('src/memory_allocator/test.pyx'),
2323
}
2424

25-
src = include_directories('memory_allocator')
25+
src = include_directories('src/memory_allocator')
2626
foreach name, pyx : extensions
2727
py.extension_module(name,
2828
pyx,

0 commit comments

Comments
 (0)