forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
38 lines (33 loc) · 741 Bytes
/
BUILD
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
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
python_library(
sources=['*.py', '!native.py', '!*_test.py']
)
python_tests(
name='tests',
sources=['*_test.py', '!*_integration_test.py'],
timeout=90,
)
python_integration_tests(
name='integration',
uses_pants_run=True,
dependencies=[
'examples/src/python/example:hello_directory',
'pants-plugins/src/python/internal_backend/rules_for_testing',
],
timeout=180,
)
python_library(
name='native',
sources=['native.py'],
dependencies=[
':native_engine',
],
)
resources(
name='native_engine',
sources=[
'native_engine.so',
'native_engine.so.metadata',
],
)