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
|
project('pypaste')
sources = files('pypaste/__init__.py')
modules = []
if get_option('client')
sources += files(
'pypaste/client/__init__.py',
'pypaste/client/__main__.py',
'pypaste/client/plugins/__init__.py',
'pypaste/client/plugins/zen/__init__.py',
'pypaste/client/plugins/pgz/__init__.py'
)
modules += ['requests']
endif
if get_option('server')
sources += files(
'pypaste/server/__init__.py',
'pypaste/server/__main__.py',
'pypaste/server/s3/__init__.py',
'pypaste/server/s3/bucket.py',
'pypaste/server/sqlite/__init__.py'
)
modules += [
'aiohttp',
'aiosqlite',
'zstandard',
'pygments',
'bozo4'
]
endif
python = import('python').find_installation(
modules: modules
)
python.install_sources(sources, preserve_path: true)
install_data(
'eff_large_wordlist.txt',
install_dir: get_option('datadir') / 'dict',
)
# Local Variables:
# eval: (remove-hook 'before-save-hook 'fmt-current-buffer t)
# End:
|