-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.py
More file actions
66 lines (48 loc) · 1.33 KB
/
package.py
File metadata and controls
66 lines (48 loc) · 1.33 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# XXX: keep any change in sync with setup.py
name = "pythonning"
version = "1.11.0"
authors = ["Liam Collod"]
description = "Low-level python functions commonly used by any kind of developer."
uuid = "446add5adac048399303292b90c32c59"
requires = [
"python-3.7+",
]
private_build_requires = [
"python-3.7+",
]
build_command = "python {root}/build.py"
doc_publish_command = "python {root}/doc/publish-doc.py"
doc_publish_requires = [
"python-3+",
"sphinx-7.2",
"furo-2023.9",
]
__test_command_base = (
"pytest-launcher {root}/python/tests"
" --config-file '${{PYTEST_CONFIG_FILE}}'"
" --log-cli-level '${{PYTEST_LOG_CLI_LEVEL}}'"
)
tests = {
"unit-37": {
"command": __test_command_base,
"requires": ["python-3.7", "pytest-7+", "pytest_utils"],
},
"unit-39": {
"command": __test_command_base,
"requires": ["python-3.9", "pytest-7+", "pytest_utils"],
},
"unit-310": {
"command": __test_command_base,
"requires": ["python-3.10", "pytest-7+", "pytest_utils"],
},
}
cachable = True
tools = [
"pythonning-download-clearcache",
]
def commands():
env.PYTHONPATH.append("{root}/python")
alias(
"pythonning-download-clearcache",
"python -c 'import pythonning.web.download;pythonning.web.download.clear_download_cache()'",
)