File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
#
6
6
# Parameters:
7
7
# python_version - version of python to use such. Default value: 3.10
8
+ # install_location - place to put installed files. Defaults to site-packages
8
9
# py - alias of python_version
9
10
#
10
11
# Documentation for jam can be found at /boot/system/documentation/packages/jam
@@ -64,9 +65,11 @@ rule Symlink
64
65
65
66
## Main build file
66
67
67
- # Set python_version to default value if user did not specify value
68
+ # Set user configurable variables to default value if user did not specify value
68
69
py ?= 3.10 ;
69
70
python_version ?= $(py) ;
71
+ install_location ?=
72
+ /boot/system/non-packaged/lib/python$(python_version)/site-packages ;
70
73
71
74
# Where to search for .cpp files
72
75
SEARCH_SOURCE += bindings/interface bindings/app ;
@@ -138,5 +141,5 @@ MakeLocate __init__.py : $(LOCATE_TARGET) ; # Put it in the build directory
138
141
File __init__.py : bindings/__init__.py ;
139
142
140
143
# As part of `jam install`, copy the following files:
141
- InstallLib /boot/system/non-packaged/lib/python$(python_version)/site-packages /Be
144
+ InstallLib $(install_location) /Be
142
145
: Be.so $(sourceFiles:S=.so) __init__.py ;
You can’t perform that action at this time.
0 commit comments