- Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathbuild.py
27 lines (17 loc) · 596 Bytes
/
build.py
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
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
from ..abstract_projectimportAbstractProject
from ..exceptionsimporthandle_exception
defmain():
""" Build the project in-situ from the command line. """
try:
project=AbstractProject.bootstrap('build',
"Build the project in-situ.")
project.build()
project.progress("The project has been built.")
exceptExceptionase:
handle_exception(e)
return0
if__name__=='__main__':
importsys
sys.exit(main())